Skip to content

Commit

Permalink
Exclude macos and win py 3.11 from matrix again
Browse files Browse the repository at this point in the history
As I don't like the red cross mark and didn't expect it.

Waiting on:

community/community#15452
https://github.com/actions/toolkit/issues/399

to be resolved
  • Loading branch information
hhursev authored and jayaddison committed Dec 16, 2022
1 parent 5126d4c commit 82c96e9
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/unittests.yaml
Expand Up @@ -10,34 +10,24 @@ on:

jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
experimental: [false]
exclude:
# lxml built-from-source fails or produces unreliable results on these platforms
# ... so skip these platforms, and include with experimental flag
# ... so skip these platforms
- os: windows-latest
python-version: "3.11"
- os: macos-latest
python-version: "3.11"
# include the problematic platforms with experimental flag set true
# that way we can observe and them failing won't mark the whole workflow as a fail
include:
- os: windows-latest
python-version: "3.11"
experimental: true
- os: macos-latest
python-version: "3.11"
experimental: true
# set toxenv to py-darwin on macos (check tox.ini)
- toxenv: py
- os: macos-latest
toxenv: py-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -46,8 +36,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- run: pip install tox
- run: tox -e ${{ matrix.toxenv }}
# Provide code coverage reports on Linux
- if: ${{ matrix.os == 'ubuntu-latest' }}
# Provide code coverage reports if Linux and last py version
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
name: coveralls.io
uses: AndreMiras/coveralls-python-action@develop
with:
Expand Down

0 comments on commit 82c96e9

Please sign in to comment.