Skip to content

Commit

Permalink
Do not fail on pip check (#523)
Browse files Browse the repository at this point in the history
## Overview

Changes:

* Makes it so that `pip check` failures do not fail CI builds.
  • Loading branch information
Zeitsperre authored Aug 13, 2024
2 parents 7d274ab + e22ad9e commit 23a433f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
contents: read

jobs:
black:
lint:
name: Code linting
runs-on: ubuntu-latest
steps:
Expand All @@ -41,7 +41,7 @@ jobs:

conda:
name: Conda (Python${{ matrix.python-version }}; ${{ matrix.os }})
needs: black
needs: lint
runs-on: ${{ matrix.os }}
defaults:
run:
Expand Down Expand Up @@ -84,17 +84,13 @@ jobs:
environment-file: environment.yml
create-args: >-
python=${{ matrix.python-version }}
- name: Conda and Mamba versions
run: |
conda --version
echo "micromamba: $(micromamba --version)"
- name: Install RavenWPS
run: |
python -m pip install --no-user --editable ".[dev]"
- name: Check versions
run: |
conda list
python -m pip check
micromamba list
python -m pip check || true
- name: Test RavenWPS
run: |
python -m pytest -m "not very_slow" tests
Expand Down

0 comments on commit 23a433f

Please sign in to comment.