Skip to content

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

[pre-commit.ci] pre-commit autoupdate

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

Workflow file for this run

name: Run Python Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- name: Set up Mamba with Python 3 and install dependencies
uses: mamba-org/setup-micromamba@v1.4.4 #conda-incubator/setup-miniconda@v2.2.0 # actions/setup-python@v1
with:
cache-downloads: true
cache-environment: true
activate-environment: jsmet
environment-file: environment.yml
python-version: 3.9
auto-activate-base: false
- name: Run pytest coverage
shell: bash -el {0}
run: |
pytest --cov
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2