Skip to content

Commit

Permalink
Avoid compiling for Windows in debug mode on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Nov 4, 2024
1 parent 103ccea commit e7ab6d5
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
run: python -m pip install -e . -vv --no-build-isolation
- name: Test with coverage
run: python -m coverage run -m unittest pyopal.tests -vv
- name: Upload to Codecov
if: matrix.python-impl == 'CPython'
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.python-impl }},${{ matrix.python-release }},${{ env.OS }}
name: test-python-${{ matrix.python-version }}
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Upload to Codecov
# if: matrix.python-impl == 'CPython'
# uses: codecov/codecov-action@v3
# with:
# flags: ${{ matrix.python-impl }},${{ matrix.python-release }},${{ env.OS }}
# name: test-python-${{ matrix.python-version }}
# fail_ci_if_error: false
# token: ${{ secrets.CODECOV_TOKEN }}

test_osx:
name: Test (OSX)
Expand Down Expand Up @@ -137,14 +137,14 @@ jobs:
run: python -m pip install -e . -vv --no-build-isolation
- name: Test with coverage
run: python -m coverage run -m unittest pyopal.tests -vv
- name: Upload to Codecov
if: matrix.python-impl == 'CPython'
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.python-impl }},${{ matrix.python-release }},${{ env.OS }}
name: test-python-${{ matrix.python-version }}
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Upload to Codecov
# if: matrix.python-impl == 'CPython'
# uses: codecov/codecov-action@v3
# with:
# flags: ${{ matrix.python-impl }},${{ matrix.python-release }},${{ env.OS }}
# name: test-python-${{ matrix.python-version }}
# fail_ci_if_error: false
# token: ${{ secrets.CODECOV_TOKEN }}

test_windows:
name: Test (Windows)
Expand Down Expand Up @@ -203,6 +203,6 @@ jobs:
- name: Install Python requirements
run: python -m pip install -r .github/workflows/requirements.txt
- name: Build C extension
run: python -m pip install -e . -vv --no-build-isolation
run: python -m pip install . -vv --no-build-isolation
- name: Test without coverage
run: python -m unittest pyopal.tests -vv

0 comments on commit e7ab6d5

Please sign in to comment.