Fix test runner to ubuntu-20.04

This commit is contained in:
Dominik Pataky 2022-12-03 08:55:20 +01:00
parent 073a212290
commit 2eb2283873

View file

@ -1,4 +1,4 @@
name: Run tests name: Run Python unit tests
on: on:
push: push:
@ -10,15 +10,15 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python 3.5.3 - name: Set up Python 3.5.3
uses: gabrielfalcao/pyenv-action@v7 uses: gabrielfalcao/pyenv-action@v7
with: with:
default: '3.5.3' # Debian Stretch (oldoldstable) default: '3.5.3' # Debian Stretch (oldoldstable)
- name: Run Python unittests - name: Run Python unittests
run: python3 -m unittest run: python3 -m unittest