Skip to content

Commit

Permalink
Attempt at mutli-Python CI
Browse files Browse the repository at this point in the history
Updated dependencies to allow for 3.9-3.11
Updated dependencies to not require specific versions of other packages
Updated unit-test.yml to run under 3.9, 3.10 and 3.11
  • Loading branch information
asgibson committed Mar 15, 2024
1 parent 5e27de9 commit a1dd0ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10, 3.11]

steps:
- uses: actions/checkout@v3
Expand All @@ -15,7 +18,7 @@ jobs:
with:
activate-environment: onair
environment-file: environment.yml
python-version: 3.11.2
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- name: Install dependencies
shell: bash -l {0}
Expand Down
14 changes: 7 additions & 7 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ channels:
- default
- conda-forge
dependencies:
- python==3.11.2
- numpy==1.23.4
- coverage==6.5.0
- pytest==7.2.0
- pytest-mock==3.10.0
- pytest-randomly==3.12.0
- python>=3.9,<3.12
- numpy
- coverage
- pytest
- pytest-mock
- pytest-randomly
- pip
- pip:
- redis==4.6.0
- redis

0 comments on commit a1dd0ac

Please sign in to comment.