Skip to content

new docker workflow #13

new docker workflow

new docker workflow #13

Workflow file for this run

name: docker CI
on: [push, pull_request]
jobs:
run-tests:
runs-on: ubuntu-latest
container: dolfinx/dolfinx:stable
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install local package and dependencies
run: |
pip install .[test]
- name: Run tests
run: |
python3 -m pytest test/test_species.py --cov festim --cov-report xml --cov-report term
- name: Upload to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml