From 91f417ce64733c3e214eac6a1f2d2fdee5d45263 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 4 Oct 2024 14:37:39 +0200 Subject: [PATCH 1/2] umamba 2 --- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/tests.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 19e5031..7646d03 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,7 +20,7 @@ jobs: fetch-depth: 0 - name: Setup Micromamba - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v2 with: environment-name: TEST init-shell: bash diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e8772ee..f070cc0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,12 +14,15 @@ jobs: os: [ubuntu-latest] numba: [true, false] fail-fast: false + defaults: + run: + shell: bash -l {0} steps: - uses: actions/checkout@v4 - name: Setup Micromamba ${{ matrix.python-version }} - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v2 with: environment-name: TEST init-shell: bash @@ -30,18 +33,15 @@ jobs: --channel conda-forge - name: Install ioos_qc - shell: bash -l {0} run: | python -m pip install -e . --no-deps --force-reinstall - name: numba # numba is listed in requirements.txt so we need to remove it below. if: ${{ ! matrix.numba }} - shell: bash -l {0} run: | micromamba remove numba - name: Tests - shell: bash -l {0} run: | python -m pytest --disable-warnings From 715b9460933f972eec19be36f153b1ee995984c9 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 4 Oct 2024 17:44:47 +0200 Subject: [PATCH 2/2] remove linting dependencies --- requirements-dev.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c644540..bb02da3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,9 +1,6 @@ bokeh dask erddapy -flake8 -isort nco numba pytest -pytest-flake8>=1.0.4 # https://github.com/tholo/pytest-flake8/pull/59