Skip to content

Commit

Permalink
Expand build matrix
Browse files Browse the repository at this point in the history
1. Use both flexible and strict channel priority for conda environment.
2. Include macOS and Windows for latest Python version.
  • Loading branch information
carlthome committed Jun 13, 2023
1 parent aaffcf7 commit bb19bff
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ concurrency:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
channel-priority: [strict]
include:
- python-version: "3.11"
os: macos-latest
- python-version: "3.11"
os: windows-latest
- python-version: "3.11"
os: ubuntu-latest
channel-priority: flexible
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

Expand All @@ -35,7 +42,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
auto-activate-base: false
channel-priority: strict
channel-priority: ${{ matrix.channel-priority }}
environment-file: .github/environment.yml

- name: Install package in development mode
Expand Down

0 comments on commit bb19bff

Please sign in to comment.