Skip to content

Commit c9d7687

Browse files
committed
Run tests in CI
1 parent 5da2d3a commit c9d7687

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
timeout-minutes: 120
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
timeout-minutes: 10
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: 3.11
21+
timeout-minutes: 10
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install -c ci-constraints.txt -r test-requirements.txt .
26+
timeout-minutes: 10
27+
28+
- name: Test
29+
run: |
30+
python -m unittest
31+
timeout-minutes: 60

0 commit comments

Comments
 (0)