We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8cb00 commit 7020da1Copy full SHA for 7020da1
.github/workflows/crmsh-ci.yml
@@ -37,17 +37,14 @@ jobs:
37
timeout-minutes: 5
38
steps:
39
- uses: actions/checkout@v4
40
- - name: Set up Python
41
- uses: actions/setup-python@v4
42
- with:
43
- python-version: ${{ matrix.python-version }}
44
- - name: Install dependencies
45
- run: |
46
- python -m pip install --upgrade pip
47
- pip install tox
48
- - name: Test with pytest in tox
+ - name: Run unit tests in Python container
49
run: |
+ docker run --rm -v ${{ github.workspace }}:/app -w /app python:${{ matrix.python-version }} bash -c "
+ python -m pip install --upgrade pip &&
+ pip install tox &&
50
tox -v -e${{ matrix.python-version }}
+ "
+
51
- uses: codecov/codecov-action@v4
52
with:
53
token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments