Skip to content

Commit 0920324

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

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,29 @@ 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: ${{ matrix.os }}
22+
needs: [ pre-commit ]
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
os: [ubuntu-latest]
27+
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
28+
include:
29+
- os: ubuntu-20.04
30+
python-version: "3.6"
31+
steps:
32+
- uses: actions/checkout@v3
33+
- name: Set up Python ${{ matrix.python-version }}
34+
uses: actions/setup-python@v4
35+
with:
36+
python-version: ${{ matrix.python-version }}
37+
- name: Install Fabric 2.x and patchwork
38+
run: pip install fabric==2 .[test]
39+
- name: Test with pytest
40+
run: pytest
41+
1942
pytest:
2043
name: Run pytests
2144
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)