Skip to content

Commit

Permalink
Tweak behaviors in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
altheaden committed Sep 10, 2024
1 parent 98a2d59 commit 5c4c99d
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ on:
workflow_dispatch:

env:
CANCEL_OTHERS: true
CANCEL_OTHERS: false
PATHS_IGNORE: '["**/README.md", "**/docs/**", "**/examples/**"]'

jobs:
pre-commit-hooks:
name: lint with pre-commit
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 5
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
Expand Down Expand Up @@ -79,11 +79,9 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: "pyremap_ci"
miniforge-variant: Mambaforge
miniforge-variant: Miniforge
miniforge-version: latest
use-mamba: true
mamba-version: "*"
channels: conda-forge,defaults
channels: conda-forge
channel-priority: strict
auto-update-conda: true
# IMPORTANT: This needs to be set for caching to work properly!
Expand All @@ -93,7 +91,7 @@ jobs:
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Install pyremap
run: |
mamba install --file dev-spec.txt
conda install --file dev-spec.txt
python -m pip install .
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
Expand Down

0 comments on commit 5c4c99d

Please sign in to comment.