Skip to content

Commit

Permalink
👷 Run tests with optional packages on Python 3.9
Browse files Browse the repository at this point in the history
Making a proper build matrix now! Minimal tests (no optional dependencies) run on Python 3.8, while full tests (with all dependencies) run on Python 3.9.

Wanted to do Python 3.10 for full tests, but need to wait for rasterio 1.3.0 to come out of beta first.
  • Loading branch information
weiji14 committed Jun 9, 2022
1 parent 62c4541 commit 37f3ba4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
python-version: ["3.8", "3.9"]
os: [ubuntu-22.04]
# Only install optional packages on Python 3.9
include:
- python-version: '3.8'
extra-packages: ''
- python-version: '3.9'
extra-packages: '--extras vector'

steps:
# Checkout current git repository
Expand All @@ -37,7 +43,7 @@ jobs:
- name: Install Poetry python dependencies
run: |
pip install poetry==1.2.0b2
poetry install
poetry install ${{ matrix.extra-packages }}
poetry self add poetry-dynamic-versioning-plugin
poetry show
Expand Down

0 comments on commit 37f3ba4

Please sign in to comment.