Skip to content

Commit

Permalink
Merge pull request #47 from kmuehlbauer/mnt-ci
Browse files Browse the repository at this point in the history
MNT CI: update micromamba
  • Loading branch information
kmuehlbauer committed Mar 11, 2024
2 parents 9b39349 + cfe6b1d commit 567b7ab
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yaml
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
workflow_dispatch: # allows you to trigger manually

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pre-job:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,17 +38,14 @@ jobs:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: mamba-org/provision-with-micromamba@main
- uses: mamba-org/setup-micromamba@v1
with:
environment-name: open-radar-data-dev
environment-file: ci/environment.yml
extra-specs: |
python=${{ matrix.python-version }}
create-args: >-
python=${{matrix.python-version}}
conda
- name: Set up conda environment
run: |
python -m pip install -e .
Expand All @@ -53,7 +54,7 @@ jobs:
run: |
python -m pytest --cov=./ --cov-report=xml --verbose
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v3.1.4
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
Expand Down

0 comments on commit 567b7ab

Please sign in to comment.