Skip to content

Merge branch 'main' of https://github.com/quicophy/mdopt #1559

Merge branch 'main' of https://github.com/quicophy/mdopt

Merge branch 'main' of https://github.com/quicophy/mdopt #1559

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/[email protected]
with:
python-version: 3.9
- name: Set up Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --with test
- name: Generate report
run: |
poetry run pytest --cov=./ --cov-report=xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/mdopt/mdopt/coverage.xml
verbose: true