Skip to content

Bump github/codeql-action from 2 to 3 #1156

Bump github/codeql-action from 2 to 3

Bump github/codeql-action from 2 to 3 #1156

Workflow file for this run

name: tests
on: [push, pull_request, fork]
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@v3
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: /home/runner/work/mdopt/mdopt/coverage.xml
verbose: true