Bump torch from 1.13.1 to 2.2.0 #27
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
- run: pip install pytest | |
- name: Install requirements | |
run: | | |
pip install -r requirements.txt | |
- name: Install csgo_wp library locally | |
run: | | |
pip install -e . | |
- name: Run PyTest tests | |
run: | | |
pytest tests/ | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v1 | |
- run: pip install flake8 | |
- name: Run flake8 | |
run: | | |
flake8 . |