diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-07-02 21:43:35 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-07-02 22:21:07 +0200 |
commit | 7ec1d08a109b1d5177306b519a0c25fc5175b36c (patch) | |
tree | 97eeac8da21e115c292eb59f5e9930f4f3d50885 | |
parent | 8d1a8540c5c2c8999ae945a23af08811628429ae (diff) | |
download | qutebrowser-7ec1d08a109b1d5177306b519a0c25fc5175b36c.tar.gz qutebrowser-7ec1d08a109b1d5177306b519a0c25fc5175b36c.zip |
ci: Add Linux/tox tests to GitHub Actions
-rw-r--r-- | .github/workflows/ci.yml | 61 |
1 files changed, 53 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efc10d1b6..f72217359 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: run: "bash scripts/dev/ci/run.sh ${{ matrix.testenv }}" tests-docker: + if: false # FIXME runs-on: ubuntu-20.04 strategy: fail-fast: false @@ -56,11 +57,55 @@ jobs: - uses: actions/checkout@v2 - run: tox -e py38 - - # tests: - # strategy: - # fail-fast: false - # matrix: - # include: - # ### PyQt 5.7.1 (Python 3.5) - # - os: ubuntu-16.04 + tests: + strategy: + fail-fast: false + matrix: + include: + ### PyQt 5.7.1 (Python 3.5) + - os: ubuntu-16.04 + python: 3.5 + testenv: py35-pyqt57 + ### PyQt 5.9 (Python 3.6) + - os: ubuntu-20.04 + python: 3.6 + testenv: py36-pyqt59 + ### PyQt 5.10 (Python 3.6) + - os: ubuntu-20.04 + python: 3.6 + testenv: py36-pyqt510 + ### PyQt 5.11 (Python 3.7) + - os: ubuntu-20.04 + python: 3.7 + testenv: py37-pyqt511 + ### PyQt 5.12 (Python 3.8) + - os: ubuntu-20.04 + python: 3.8 + testenv: py38-pyqt512 + ### PyQt 5.13 (Python 3.8) + - os: ubuntu-20.04 + python: 3.8 + testenv: py38-pyqt513 + ### PyQt 5.14 (Python 3.8) + - os: ubuntu-20.04 + python: 3.8 + testenv: py38-pyqt514 + ### PyQt 5.15 (Python 3.8) + - os: ubuntu-20.04 + python: 3.8 + testenv: py38-pyqt515 + ### TODO: macOS + ### TODO: Windows + ### TODO: coverage + runs-on: "${{ matrix.os }}" + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: "${{ matrix.python }}" + - name: Install apt dependencies + run: sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 + - name: Install dependencies + run: "bash scripts/dev/ci/install.sh ${{ matrix.testenv }}" + - name: "Run ${{ matrix.testenv }}" + run: "bash scripts/dev/ci/run.sh ${{ matrix.testenv }}" |