Skip to content

Commit

Permalink
Merge pull request #132 from ocefpaf/fix_umamba
Browse files Browse the repository at this point in the history
default shell
  • Loading branch information
ocefpaf authored Oct 4, 2024
2 parents 57813de + 715b946 commit 422ef0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 0 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 422ef0b

Please sign in to comment.