From 32a7e3905e1d309a47a616fd26c659e721214fab Mon Sep 17 00:00:00 2001 From: Marcelo Duarte Trevisani Date: Sun, 28 Jul 2024 22:04:43 +0100 Subject: [PATCH] Update tests.yml (#545) * Update tests.yml * skip flake test * update actions and disable fail-fast --- .github/workflows/tests.yml | 7 ++++--- tests/test_pypi.py | 5 +---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3cda03949..9cd83fd05 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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: . diff --git a/tests/test_pypi.py b/tests/test_pypi.py index aed04c8e7..1564ee152 100644 --- a/tests/test_pypi.py +++ b/tests/test_pypi.py @@ -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")