Skip to content

Commit f709586

Browse files
committed
Add unit test workflow to GH actions.
1 parent e2eb7cd commit f709586

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/python.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,28 @@ jobs:
2222
- name: MyPy
2323
run: mypy yellowstone test
2424

25+
test:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Set up Python
32+
uses: actions/setup-python@v4
33+
with:
34+
python-version: 3.11
35+
36+
- name: Install dependencies
37+
run: pip install -r requirements.txt && pip install -r requirements.dev.txt
38+
39+
- name: Run unit tests
40+
run: python -m unittest
41+
2542
lint:
2643
runs-on: ubuntu-latest
2744
steps:
2845
- name: Checkout
29-
uses: actions/checkout@v3
46+
uses: actions/checkout@v4
3047

3148
- name: Ruff
3249
uses: chartboost/ruff-action@v1

0 commit comments

Comments
 (0)