Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tztsai committed Dec 4, 2023
1 parent 9e11316 commit 92b5634
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pyrealm_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
with:
lfs: true

- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
run: |
git lfs pull
git checkout pyrealm_build_data/*.nc
- uses: stefanzweifel/git-auto-commit-action@v5

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -52,14 +59,16 @@ jobs:
poetry run python profiling/report.py
- name: Remove LFS objects
run: git checkout pyrealm_build_data/
run: git checkout pyrealm_build_data/*.nc

- name: Generate report
uses: stefanzweifel/git-auto-commit-action@v5
if: steps.profiling.outcome == 'success'
with:
file_pattern: 'profiling/*'
commit_message: Auto-generated report
skip_fetch: true
skip_checkout: true

- name: Upload coverage reports to Codecov
if: success() && (matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9)
Expand Down

0 comments on commit 92b5634

Please sign in to comment.