Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit 5f053c9

Browse files
👷 Add unit testing in the CI
1 parent d276e48 commit 5f053c9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test
2+
3+
on: push
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Python 3.8.12
11+
uses: actions/setup-python@v2
12+
with:
13+
python-version: 3.8.12
14+
- name: Install dependencies
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install poetry
18+
poetry install
19+
- name: Build binary
20+
run: |
21+
poetry run pyinstaller starklings.spec
22+
- name: Run tests
23+
run: |
24+
poetry run pytest src

0 commit comments

Comments
 (0)