Skip to content

Commit 461c4b7

Browse files
authored
chore: add validate CI workflow (#11)
* chore: add validate CI workflow * fix(ci): install package editable before pytest * fix(ci): skip coverage gate in validate workflow
1 parent 2ceaba3 commit 461c4b7

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
pull_request:
7+
8+
jobs:
9+
validate:
10+
name: validate
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.12"
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pytest
21+
pip install -r requirements.txt
22+
pip install -e .
23+
- name: Run tests
24+
run: pytest -q --no-cov

0 commit comments

Comments
 (0)