Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

126 provide some backwards compatibility with previous python versions #127

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up OnAIR test environment
uses: conda-incubator/setup-miniconda@v3
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 All @@ -29,4 +32,4 @@ jobs:
shell: bash -l {0}
run: coverage report --skip-empty
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
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.8,<3.13
- numpy
- coverage
- pytest
- pytest-mock
- pytest-randomly
- pip
- pip:
- redis==4.6.0
- redis
Loading