ci: run unit tests against 18.04-20.04 and py36-py39

This commit is contained in:
Erik Sundell
2021-10-17 03:40:31 +02:00
parent 8054411e40
commit 5d3e3c0f2c

View File

@@ -24,16 +24,27 @@ on:
workflow_dispatch:
jobs:
unit-test:
name: Unit tests
runs-on: ubuntu-18.04
container: ubuntu:18.04
unit-tests:
name: ${{ matrix.name }}
runs-on: ubuntu-${{ matrix.ubuntu_version }}
container: ubuntu:${{ matrix.ubuntu_version }}
strategy:
fail-fast: false
matrix:
include:
- name: "Unit tests: Ubuntu 18.04, Py 3.6"
ubuntu_version: 18.04
python_version: 3.6
- name: "Unit tests: Ubuntu 20.04, Py 3.9"
ubuntu_version: 20.04
python_version: 3.9
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
python-version: ${{ matrix.python_version }}
- name: Install venv, git and setup venv
run: |