Skip to content

Commit a12d686

Browse files
committed
Create actions-test.yml
1 parent 7f05a04 commit a12d686

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/actions-test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Unit Tests
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
python-version: [ "3.13" ]
14+
15+
steps:
16+
- name: 📥 Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: 🐍 Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: 🧪 Run tests with coverage
25+
uses: reporterplus/pytest-html-plus-action@v1
26+
with:
27+
pytest-args: "--cov=pytest_html_plus tests/ --cov-fail-under=75 --cov-report=term --reruns 1"

0 commit comments

Comments
 (0)