Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default shell #132

Merged
merged 2 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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