Skip to content

Commit

Permalink
Added codecov token, fully switched to micromamba (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpilz authored Mar 22, 2024
1 parent 5a449b5 commit 4cc5a11
Show file tree
Hide file tree
Showing 2 changed files with 233 additions and 231 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
- name: Set up conda environment
uses: mamba-org/setup-micromamba@v1
id: conda
with:
channels: conda-forge
channel-priority: strict
activate-environment: wps_xr
auto-update-conda: false
python-version: ${{ matrix.python-version }}
mamba-version: '*'
use-mamba: true
miniforge-variant: Mambaforge
environment-file: ci/environment.yml
init-shell: >-
bash
cache-environment: true
cache-downloads: true
post-cleanup: 'all'
create-args: >-
python=${{ matrix.python-version }}
- name: Install wps_xr
id: install
Expand All @@ -51,6 +51,7 @@ jobs:
- name: Upload code coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
Expand Down
Loading

0 comments on commit 4cc5a11

Please sign in to comment.