Skip to content

Workflow file for this run

name: Source Code Tests
on: [push]
permissions:
contents: read
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
name: test - ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: update pip
run: pip install --upgrade pip
- name: Install ruff
run: pip install ruff
- name: Run ruff
run: ruff check
- name: Install graph-pes
run: pip install -e ".[test]"
- name: Run tests
run: pytest --cov src --cov-report xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}