Skip to content

Functional tests for MNIST #55

Functional tests for MNIST

Functional tests for MNIST #55

Workflow file for this run

---
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"