-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1072 from ocefpaf/run_ncei_plugin_test
add NCEI downstream plugin test
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: NCEI Plugin Tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Micromamba | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-name: TEST | ||
init-shell: bash | ||
create-args: >- | ||
python=3 pip | ||
--file requirements.txt | ||
--file test_requirements.txt | ||
--channel conda-forge | ||
- name: Install compliance-checker | ||
shell: bash -l {0} | ||
run: | | ||
python -m pip install -e . --no-deps --force-reinstall | ||
- name: cc-plugin-ncei tests | ||
shell: bash -l {0} | ||
run: > | ||
git clone https://github.com/ioos/cc-plugin-ncei.git | ||
&& cd cc-plugin-ncei | ||
&& micromamba install --file requirements.txt --file requirements-dev.txt --channel conda-forge | ||
&& python -m pip install -e . --no-deps --force-reinstall | ||
&& python -m pytest -s -rxs -v cc_plugin_ncei |