update for latest c2d api #477
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test demos | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push requests to main or develop branches | |
pull_request: | |
branches: | |
- main | |
- develop | |
paths: | |
- "**.py" | |
- "**.ipynb" | |
- "**.yml" | |
- "**.cfg" | |
- "**.toml" | |
- "**.sh" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/fusion-energy/paramak_cq_master:dependencies | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup paramak | |
run: | | |
pip install .[tests] | |
- name: Run the notebooks | |
run: | | |
pytest tests/tests_examples -v |