diff options
| author | Roy Sommer <illBeRoy@users.noreply.github.com> | 2023-04-08 03:32:05 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-08 03:32:05 +0300 |
| commit | 04e2e81e036664263e92ce621b099abb545bc0a7 (patch) | |
| tree | 4e489006f61ae00f6170ae7560a4145a3f54b620 /.github/workflows/ci.yml | |
| parent | Release version 1.10.4 (diff) | |
| download | taskipy2-04e2e81e036664263e92ce621b099abb545bc0a7.zip | |
Fix Tests for Python 3.6 (#59)
* Fix Tests for Python 3.6
Python 3.6 is no longer supported on latest ubuntu, causing the CI to fail.
This PR changes the CI setup so that:
- Python 3.6 is run on latest ubuntu supported (20.04)
- All other tests run on latest ubuntu
For more details: https://github.com/actions/setup-python/issues/544
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a7b7cc..d9aa4a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,15 +11,17 @@ on: jobs: build: - - runs-on: ubuntu-latest strategy: matrix: python-version: - - 3.6 - 3.7 - 3.8 - 3.9 + - '3.10' + include: + - python-version: 3.6 + os: ubuntu-20.04 + runs-on: ${{ matrix.os || 'ubuntu-latest' }} steps: - uses: actions/checkout@v2 |