Skip to content

Commit 23c9aba

Browse files
committed
Add pytest for Fabric2.x
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
1 parent f487e34 commit 23c9aba

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/tests.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,24 @@ jobs:
1616
- uses: actions/setup-python@v4
1717
- uses: pre-commit/action@v3.0.0
1818

19+
pytest-fabric2:
20+
name: Test for Fabric 2.0 compatibility
21+
runs-on: ubuntu-latest
22+
needs: [ pre-commit ]
23+
strategy:
24+
matrix:
25+
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11" ]
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: Set up Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@v4
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
- name: Install Fabric 2.x and patchwork
33+
run: pip install fabric==2 .[test]
34+
- name: Test with pytest
35+
run: pytest
36+
1937
pytest:
2038
name: Run pytests
2139
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)