Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
disable test and enable testing on push
Browse files Browse the repository at this point in the history
  • Loading branch information
MeraX committed Dec 16, 2024
1 parent 8d6e64e commit e8b59e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@ name: ci

on:
# Trigger the workflow on push to main or develop, except tag creation
push:
branches:
- 'main'
- 'develop'
tags-ignore:
- '**'
paths-ignore:
- "docs/**"
- "CHANGELOG.md"
- "README.md"
push

# Trigger the workflow on pull request
pull_request:
Expand Down Expand Up @@ -43,10 +34,10 @@ jobs:
secrets: inherit

# Build downstream packages on HPC
downstream-ci-hpc:
name: downstream-ci-hpc
if: ${{ !contains(github.repository, 'private') && (!github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci') }}
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
with:
anemoi-training: ecmwf/anemoi-training@${{ github.event.pull_request.head.sha || github.sha }}
secrets: inherit
# downstream-ci-hpc:
# name: downstream-ci-hpc
# if: ${{ !contains(github.repository, 'private') && (!github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci') }}
# uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
# with:
# anemoi-training: ecmwf/anemoi-training@${{ github.event.pull_request.head.sha || github.sha }}
# secrets: inherit
2 changes: 1 addition & 1 deletion tests/aicon/test_cicd_aicon_04_icon-dream_medium.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def trainer(shorten:bool=True) -> AnemoiTrainer:
config.graph.nodes.icon_mesh.node_builder.grid_filename = grid_fp.name

trainer = AnemoiTrainer(config)
trainer.train()
#trainer.train()
return trainer


Expand Down

0 comments on commit e8b59e3

Please sign in to comment.