Skip to content

Commit ce94157

Browse files
committed
Unit Test GH Action to check unit-tests work prior to publishes.
1 parent 75664fb commit ce94157

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Unit Test GCBrickWork
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
pytest-code:
8+
runs: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: "3.12"
15+
16+
- name: Install dependencies
17+
run: python -m pip install --upgrade pip setuptools wheel -r requirements.txt
18+
19+
- name: Test with pytest
20+
run: |
21+
coverage run -m pytest -v -s
22+
23+
- name: Generate Coverage Report
24+
run: |
25+
coverage report -m

0 commit comments

Comments
 (0)