Skip to content

Merge pull request #1096 from ioos/pre-commit-ci-update-config #679

Merge pull request #1096 from ioos/pre-commit-ci-update-config

Merge pull request #1096 from ioos/pre-commit-ci-update-config #679

name: Glider 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 -v -e . --no-deps --force-reinstall
- name: cc-plugin-glider tests
shell: bash -l {0}
run: >
git clone https://github.com/ioos/cc-plugin-glider.git
&& cd cc-plugin-glider
&& micromamba install --file requirements.txt --file requirements-dev.txt --channel conda-forge
&& micromamba remove compliance-checker --no-prune --force
&& python -m pip install -e . --no-deps --force-reinstall
&& python -m pytest -s -rxs -v cc_plugin_glider