Skip to content

gha: update python-setup action version #306

gha: update python-setup action version

gha: update python-setup action version #306

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '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 }}
architecture: x64
- name: Install Poetry
uses: snok/install-poetry@v1.3.4
- name: Install dependencies
run: poetry install -E yaml
- name: Run pytest
run: poetry run pytest --cov-report=xml --cov-report=term-missing --cov-append --cov=cp2k_output_tools tests/
- uses: codecov/codecov-action@v4.5.0
with:
files: ./coverage.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}