Skip to content

Merge branch 'cached-workflows' of https://github.com/OpenCOMPES/sed … #21

Merge branch 'cached-workflows' of https://github.com/OpenCOMPES/sed …

Merge branch 'cached-workflows' of https://github.com/OpenCOMPES/sed … #21

Workflow file for this run

name: pytest
# Triggers the workflow on push for all branches
on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
# Check out repo and set up Python
- name: Check out the repository
uses: actions/checkout@v4
with:
lfs: true
# Use cached python and dependencies, install poetry
- name: "Setup Python, Poetry and Dependencies"
uses: packetcoders/action-setup-cache-python-poetry@main
with:
python-version: 3.8
poetry-version: 1.2.2
# Run pytest with coverage report and upload results to coveralls
- name: Run tests on python 3.8
run: |
poetry run pytest --cov --full-trace --show-capture=no -sv -n auto tests/
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true