ci: test compatibility with Python 3.6 and 3.8
@@ -41,20 +41,26 @@ jobs:
uses: actions/upload-artifact@v2
if: always()
with:
+ retention-days: 1
name: references
path: references/*.tmp
tests:
- name: Tests
runs-on: ubuntu-latest
env:
XDG_RUNTIME_DIR: /home/runner/.docker/run
DOCKER_HOST: unix:///home/runner/.docker/run/docker.sock
+ strategy:
+ fail-fast: false
+ matrix:
+ python-version: [ '3.7', '3.8', '3.9' ]
+ name: Tests on Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
- python-version: 3.7
+ python-version: ${{ matrix.python-version }}
+ architecture: x64
- name: Install Docker rootless
run: |
sudo systemctl disable --now docker.service
