Skip to content

new docker workflow

new docker workflow #5

Workflow file for this run

name: docker CI

Check failure on line 1 in .github/workflows/docker_ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker_ci.yml

Invalid workflow file

`pull_reqeuest` is not a valid event name
on: [push, pull_reqeuest]
jobs:
container-test-job:
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/ --cov festim --cov-report xml --cov-report term
- name: Upload to codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}