Skip to content

Commit 731d84d

Browse files
committed
ci: add platform test workflow
1 parent 1d31a67 commit 731d84d

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v5
14+
15+
- name: Setup Python
16+
uses: actions/setup-python@v6
17+
with:
18+
python-version: "3.11"
19+
20+
- name: Install dependencies
21+
run: |
22+
set -euo pipefail
23+
python -m pip install --upgrade pip
24+
python -m pip install -r requirements.txt pytest
25+
26+
- name: Run unit tests
27+
run: |
28+
set -euo pipefail
29+
PYTHONPATH=. PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python -m pytest -q

0 commit comments

Comments
 (0)