Skip to content

Neubrex dts dss support (#411) #262

Neubrex dts dss support (#411)

Neubrex dts dss support (#411) #262

Workflow file for this run

# Calculates new coverage for the base branch and uploads to codecov
name: Coverage
on:
push:
branches:
- master
jobs:
calc_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "get tags"
run: |
git fetch --tags --force # Retrieve annotated tags.
- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
with:
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
python-version: "3.11"
activate-environment: dascore
environment-file: environment.yml
condarc-file: .github/test_condarc.yml
- name: install dascore
shell: bash -l {0}
run: |
python -m pip install -e .[test]
- name: run test suite
shell: bash -l {0}
run: |
pytest -s --cov dascore --cov-report=xml
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests # optional
name: master_tests # optional
token: ${{ secrets.CODECOV_TOKEN }} # required