Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak behaviors of build and release CI workflows #847

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:
workflow_dispatch:

env:
CANCEL_OTHERS: true
CANCEL_OTHERS: false
PATHS_IGNORE: '["**/README.md", "**/docs/**", "**/examples/**", "**/misc/**", "**/.vscode/**", "**/.github/pull_request_template.md", "**/.github/ISSUE_TEMPLATE"]'

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
Loading