Merge pull request #187 from GilesStrong/refactor_cleanup #327
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
PyTest: | |
runs-on: ubuntu-latest | |
# container: pytorch/pytorch:1.8.1-cuda11.1-cudnn8-runtime | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -e . | |
# pip install | |
- name: pytest | |
run: pytest tests |