Fix configs #108
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
name: Run Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/[email protected] | |
- name: Install Micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: "1.4.5-0" | |
environment-file: environments/linux.yaml | |
init-shell: bash | |
cache-environment: true | |
post-cleanup: "all" | |
- name: install xarray-dataclasses | |
run: pip install --no-deps xarray-dataclasses | |
shell: micromamba-shell {0} | |
- name: pytest | |
run: pytest oceanbench/_src | |
shell: micromamba-shell {0} |