Skip to content

[pre-commit.ci] pre-commit autoupdate #105

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #105

Workflow file for this run

name: tests
on:
push:
branches:
- main
pull_request: null
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: tests
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.11"
channels: conda-forge
channel-priority: strict
show-channel-urls: true
environment-file: environment.yml
activate-environment: seacliff
- name: install code
shell: bash -l {0}
run: |
python -m pip install --no-deps --no-build-isolation -e .
- name: run tests
shell: bash -l {0}
run: |
pytest -n 2 -vv --cov=seacliff --cov-report=term-missing --cov-report=xml tests
- name: upload coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}