updated readme #4
This file contains hidden or 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: Smoke Tests | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
smoke-tests: | |
runs-on: ubuntu-latest | |
env: | |
WANDB_MODE: offline | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
pip install -r requirements-dev.txt | |
- name: Run formatting, linting | |
run: | | |
pre-commit install | |
pre-commit run --all-files | |
- name: Run tests | |
run: pytest |