Skip to content

Commit 40de8b1

Browse files
committed
Add tox workflow
1 parent ed4f2cf commit 40de8b1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/tox.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Tox unit tests
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
build:
8+
name: Tox unit tests and linting
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: ['3.10']
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install tox
26+
27+
- name: Test with tox
28+
run: tox

0 commit comments

Comments
 (0)