Skip to content

Commit bc945da

Browse files
authored
Merge pull request #40 from SeanLee97/SeanLee97-patch-7
Create pytest.yml
2 parents 487dcb8 + 47f8e7b commit bc945da

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pytest.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: pytest
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.8", "3.9", "3.10", "3.11"]
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v3
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
python -m pip install -r dev-requirements.txt
21+
- name: Analysing the code with pytest
22+
run: |
23+
pytest -vvvv --cov=AnglE tests/

0 commit comments

Comments
 (0)