test workflow #9
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
# This workflow will install the environment, run the usecase param_wall | |
name: Tests for pgdrome | |
on: [push] | |
env: | |
CACHE_NUMBER: 1 # increase to reset cache manually | |
jobs: | |
# Run tests | |
test_model: | |
name: Run tests | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
channels: conda-forge | |
channel-priority: strict | |
auto-update-conda: true | |
environment-file: environment.yml | |
- name: Install package | |
run: git clone https://github.com/tpaviot/pythonocc-utils.git && pip install ./pythonocc-utils | |
- name: Run param_wall | |
shell: bash -l {0} #new shell | |
run: | | |
python usecases/param_wall/param_wall.py |