Skip to content

Commit

Permalink
update ci for beta03 (ESMCI#8)
Browse files Browse the repository at this point in the history
* update ci for beta03

* correct cd cmds in ci test
  • Loading branch information
alperaltuntas committed Oct 31, 2024
1 parent 2da7708 commit 702aaf8
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,31 @@ jobs:
- uses: actions/checkout@v4
with:
repository: alperaltuntas/CESM
ref: cesm2_3_beta17_gui
ref: cesm3_0_beta03_gui
#submodules: recursive

# Run manage_Externals
# Run git-fleximod
- name: checkout CESM
env:
GIT_CLONE_PROTECTION_ACTIVE: false
run: |
./manage_externals/checkout_externals -o
./bin/git-fleximod update
# Checkout the correct visualCaseGen branch
- name: Checkout initial event (Pull Request)
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "Handling pull request"
cd visualCaseGen/
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }}
git checkout pr-${{ github.event.pull_request.number }}
- name: Checkout initial event (Push)
if: ${{ github.event_name == 'push' }}
run: |
echo "Handling push"
cd visualCaseGen/
git checkout ${{ github.sha }}
# set up conda
- uses: conda-incubator/setup-miniconda@v3
Expand Down

0 comments on commit 702aaf8

Please sign in to comment.