Optionally use pre-computed topo #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
name: Run the tests please | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# - uses: actions/setup-python@v4 | |
# with: | |
# python-version: '3.10' | |
jobs: | |
do_the_build_please: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install python3.8 | |
run: sudo apt install -y python3.8 python3.8-venv | |
- name: Build venv | |
run: python3.8 -m venv env | |
- name: Install deps | |
run: | | |
source env/bin/activate | |
pip install pytest torch | |
- name: Run tests | |
run: | | |
source env/bin/activate | |
pytest |