Skip to content

Commit

Permalink
Tweak behaviors of build and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
altheaden committed Sep 12, 2024
1 parent 1278873 commit e543b12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
pre-commit-hooks:
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 5
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
Expand Down Expand Up @@ -78,10 +78,8 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: "e3sm_diags_ci"
miniforge-variant: Mambaforge
miniforge-variant: Miniforge3
miniforge-version: latest
use-mamba: true
mamba-version: "*"
environment-file: conda-env/ci.yml
channel-priority: strict
auto-update-conda: true
Expand All @@ -95,8 +93,8 @@ jobs:
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Check conda env
run: |
mamba list
mamba info
conda list
conda info
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Run Unit Tests
Expand Down Expand Up @@ -139,10 +137,8 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: "e3sm_diags_ci"
miniforge-variant: Mambaforge
miniforge-variant: Miniforge3
miniforge-version: latest
use-mamba: true
mamba-version: "*"
environment-file: conda-env/ci.yml
channel-priority: strict
auto-update-conda: true
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: "e3sm_diags_ci"
miniforge-variant: Mambaforge
miniforge-variant: Miniforge3
miniforge-version: latest
use-mamba: true
mamba-version: "*"
environment-file: conda-env/ci.yml
channel-priority: strict
auto-update-conda: true
Expand Down

0 comments on commit e543b12

Please sign in to comment.