Skip to content

Run tests for newer Python versions #97

Run tests for newer Python versions

Run tests for newer Python versions #97

Workflow file for this run

name: python-aodntools
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.11', '3.12' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "numpy<1.19.0"
pip install -r test_requirements.txt
# pip install pytest-cov
- name: Test with pytest
run: |
pytest
# pytest --cov=./ --cov-report=xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage.xml