Skip to content

Commit

Permalink
Merge branch 'feature-tests' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lbonaldo committed Oct 17, 2023
2 parents b8f056a + 4e3ef50 commit ffcb70d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
allow_failure: true
steps:
- uses: actions/checkout@v3
- name: Create a new branch and pull test logs from repo
- name: Create a new branch and pull test logs from repo # only push logs if PR is not from a fork
if: ${{ ! github.event.pull_request.head.repo.fork }}
run: |
git checkout -b ${GITHUB_REF#refs/heads/}-testlogs
mkdir test/Logs; cd test/Logs
Expand All @@ -42,7 +43,7 @@ jobs:
if [ -d Logs_v${{ matrix.version }} ]; then
mv Logs_v${{ matrix.version }}/*.log .
else
mkdir Logs_v${{ matrix.version }}
mkdir Logs_v${{ matrix.version }}
fi
env:
LOG_TOKEN: ${{ secrets.LOG_TOKEN }}
Expand All @@ -53,16 +54,15 @@ jobs:
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- name: Commit logs and push back to repo
- name: Commit logs and push back to repo # only push logs if PR is not from a fork
if: ${{ ! github.event.pull_request.head.repo.fork }}
run: |
cd ${GITHUB_WORKSPACE}/test/Logs
mv *.log Logs_v${{ matrix.version }}
git add -f Logs_v${{ matrix.version }}
git commit -m "Update test logs for Julia v${{ matrix.version }}"
git pull --rebase testlog main # pull again to avoid conflicts from other versions
git push testlog main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit ffcb70d

Please sign in to comment.