Skip to content

Merge pull request #46 from ioos/dependabot/github_actions/github-act… #72

Merge pull request #46 from ioos/dependabot/github_actions/github-act…

Merge pull request #46 from ioos/dependabot/github_actions/github-act… #72

Workflow file for this run

name: Tests
# no permissions by default
permissions: {}
on:
pull_request:
push:
branches: [main]
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [ "3.10", "3.14"]
os: [windows-latest, ubuntu-latest, macos-latest]
fail-fast: false
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Micromamba ${{ matrix.python-version }}
uses: mamba-org/setup-micromamba@d7c9bd84e824b79d2af72a2d4196c7f4300d3476 # v3.0.0
with:
environment-name: TEST
init-shell: bash
create-args: >-
python=${{ matrix.python-version }} pip
--file requirements.txt
--file requirements-dev.txt
--channel conda-forge
- name: Install package
run: |
python -m pip install -e . --no-deps --force-reinstall
- name: Tests
run: |
python -m pytest -n 2 -rxs --cov=ioos_pkg_skeleton tests