Skip to content

Commit

Permalink
Update tests.yml (#545)
Browse files Browse the repository at this point in the history
* Update tests.yml

* skip flake test

* update actions and disable fail-fast
  • Loading branch information
marcelotrevisani authored Jul 28, 2024
1 parent 3b83710 commit 32a7e39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
py_ver: ["3.8", "3.9", "3.10", "3.11"]
py_ver: ["3.11", "3.12"]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.py_ver }}
steps:
- uses: actions/checkout@master
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3.0.4
with:
auto-update-conda: true
channels: conda-forge,defaults
Expand Down Expand Up @@ -66,7 +67,7 @@ jobs:
--junit-xml=Linux-py${{ matrix.py_ver }}-parallel.xml \
--junit-prefix=Linux-py${{ matrix.py_ver }}-parallel
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4.5.0
with:
files: ./coverage-serial.xml,./coverage-parallel.xml
directory: .
Expand Down
5 changes: 1 addition & 4 deletions tests/test_pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,10 +822,7 @@ def test_ciso_recipe():


@pytest.mark.serial
@pytest.mark.xfail(
condition=(sys.platform.startswith("win")),
reason="Test failing on windows platform",
)
@pytest.mark.xfail(reason="Flake test")
def test_pymc_recipe_fortran():
recipe = GrayskullFactory.create_recipe(
"pypi", Configuration(name="pymc", version="2.3.6")
Expand Down

0 comments on commit 32a7e39

Please sign in to comment.