Skip to content

Update coverage.yml #15

Update coverage.yml

Update coverage.yml #15

Workflow file for this run

name: Coverage
on:
pull_request:
paths-ignore:
- 'doc/**'
- '.ci/**'
- '*.rst'
push:
branches:
- main
- develop
- beta/*
paths-ignore:
- 'doc/**'
- '.ci/**'
- '*.rst'
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Install conda from miniforge
run: |
wget -O Miniforge3.sh "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3.sh -b -p "${HOME}/conda"
source "${HOME}/conda/etc/profile.d/conda.sh"
conda activate
- uses: actions/checkout@v4
with:
submodules: true
- uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.python-version }}
create-symlink: true
- uses: rui314/setup-mold@v1
- run: pip install nox
- run: nox -s cov
- uses: AndreMiras/coveralls-python-action@develop