Skip to content

Commit fc718ca

Browse files
author
AJ
committed
ci: run python test suite on PRs and main merges
1 parent 05c10ae commit fc718ca

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.12'
19+
20+
- name: Install deps
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install requests
24+
25+
- name: Run tests
26+
run: |
27+
python -m unittest discover -s tests -p 'test_*.py' -v

0 commit comments

Comments
 (0)