Functional tests for MNIST #55
Workflow file for this run
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 workflows | |
on: | |
# push: | |
pull_request: | |
jobs: | |
test-itwinai: | |
name: Test itwinai with pytest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install micromamba | |
shell: bash -l {0} | |
run: | | |
"${SHELL}" <(curl -L micro.mamba.pm/install.sh) | |
- name: Make torch CPU env | |
shell: bash -l {0} | |
run: make torch-cpu | |
- name: Make tensorflow env | |
shell: bash -l {0} | |
run: make tf-2.13 | |
- name: Install dev version | |
shell: bash -l {0} | |
run: micromamba run -p ./.venv-pytorch pip install .[dev] | |
- name: Run pytest for workflows | |
shell: bash -l {0} | |
run: micromamba run -p ./.venv-pytorch pytest -v ./tests/ -m "not slurm" | |