Skip to content

Commit 2ae79fe

Browse files
committed
added github actions
1 parent 0b3248f commit 2ae79fe

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/smoke-tests.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Smoke Tests
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
smoke-tests:
9+
runs-on: ubuntu-latest
10+
env:
11+
WANDB_MODE: offline
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.10'
21+
cache: 'pip'
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -e .
27+
pip install -r requirements-dev.txt
28+
29+
- name: Run formatting, linting
30+
run: |
31+
pre-commit install
32+
pre-commit run --all-files
33+
34+
- name: Run tests
35+
run: pytest

0 commit comments

Comments
 (0)