Skip to content

Bumping the python version #34

Bumping the python version

Bumping the python version #34

Workflow file for this run

# This workflow installs Python dependencies, runs unit tests and tracks code coverage statistics
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Run in all these versions of Python
python-version: [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: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install .
python -m pip install pytest
- name: Test with pytest
run: |
pytest -vvv
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
# with:
# file: ./coverage.xml
# env_vars: PYTHON