Skip to content

Commit 2228a64

Browse files
author
Isidro Arias
committed
test with pytest
1 parent c722d36 commit 2228a64

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/test.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: run-tests
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version: ["3.11", "3.10", "3.9", "3.8", "3.7",]
9+
10+
steps:
11+
- name: Chckout code
12+
uses: actions/checkout@v2
13+
- name: Set up Python ${{ matrix.python-version }}
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: ${{ matrix.python-version }}
17+
- name: Install dependencies
18+
run: |
19+
python -m pip install --upgrade pip
20+
pip install pytest
21+
pip install -e ./src/
22+
23+
- name: Test with pytest
24+
run: |
25+
python -m pytest -v

0 commit comments

Comments
 (0)