name: Python tests on: - push - pull_request jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install system dependencies run: | sudo apt-get update \ && sudo apt-get install -y \ python-dbus python-gobject \ python3-dbus python3-gi \ && sudo rm -rf /var/lib/apt/lists/* - name: Install python dependencies run: | python3 -m pip install --upgrade pip python3 -m pip install tox tox-gh-actions python3 -m pip install -e . - name: Test with tox run: tox