Skip to content

Merge branch 'main' into rm-balsamic-qc #811

Merge branch 'main' into rm-balsamic-qc

Merge branch 'main' into rm-balsamic-qc #811

Workflow file for this run

name: Tests
on: [push]
jobs:
tests:
name: Tests (${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest" ]
python-version: [ "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 }}
- name: Set up poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.4.0
- name: Install package
run: |
poetry install
- name: Test with pytest & Coveralls
run: |
poetry run pytest --cov=cg_hermes/ --cov-report xml --cov-report term
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests