From 2ccc78bb827f6a801bcbe989c1f81c47b0e015c0 Mon Sep 17 00:00:00 2001 From: Rebecca Breu Date: Sat, 3 Apr 2021 18:41:32 +0200 Subject: [PATCH] Pytest workflow: run multiple python versions --- .github/workflows/pytest.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 4b8a39f..d0bf735 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -6,13 +6,15 @@ jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + python-version: ['3.6', '3.7', '3.8', '3.9'] steps: - uses: actions/checkout@v2 - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | sudo apt install libgl1-mesa-glx libegl1 libglib2.0-0 libxcb-image0 libxkbcommon-x11-0 libxcb-icccm4 libxcb-keysyms1-dev xserver-xephyr libfontconfig1 libxkbcommon-dev libdbus-1-3