Skip to content

Refactoring

Refactoring #62

Workflow file for this run

name: CI
on: [pull_request, push]
jobs:
run-tests:
name: run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: libra_sparging
environment-file: environment.yml
miniforge-version: latest
use-mamba: false
channels: conda-forge
- name: Install package
shell: bash -l {0}
run: |
python -m pip install -e .[dev]
- name: Run tests
shell: bash -l {0}
run: |
python -m pytest test --cov src/sparging --cov-report xml
- name: Upload to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml