Skip to content

Commit 65e4d0c

Browse files
committed
Add workflow for running tests
1 parent 8af3feb commit 65e4d0c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/test.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Unit Test
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
typing:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out repository
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.10'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install --upgrade tox
25+
26+
- name: Run type checker
27+
run: tox -e py3

0 commit comments

Comments
 (0)