Skip to content

Commit 7947da1

Browse files
committed
ci: add lightweight automated checks
1 parent a51c29c commit 7947da1

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
tests:
14+
name: Python tests
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18+
with:
19+
persist-credentials: false
20+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
21+
with:
22+
python-version: "3.11"
23+
- name: Install test dependencies
24+
run: python -m pip install pytest
25+
- name: Run tests
26+
run: pytest -q tests/

0 commit comments

Comments
 (0)