forked from GenXProject/GenX.jl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
10 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ jobs: | |
- "1.6" # LTS (64-bit Linux) | ||
- "1.7" | ||
- "1.8" | ||
- '1' # latest stable 1.x Julia release (Linux) | ||
- '1.9' # latest stable Julia release (Linux) | ||
os: | ||
- ubuntu-latest | ||
arch: | ||
- x64 | ||
include: # additional tests [Julia-nightly] | ||
include: # additional tests [Julia-nightly] (Linux) | ||
- os: ubuntu-latest | ||
version: 'nightly' | ||
arch: x64 | ||
|
@@ -33,16 +33,19 @@ jobs: | |
run: | | ||
git checkout -b ${GITHUB_REF#refs/heads/}-testlogs | ||
mkdir test/Logs; cd test/Logs | ||
git config --global init.defaultBranch main | ||
git init | ||
git config --local user.name GenXProject | ||
git config --local user.email "[email protected]" | ||
git remote add testlog https://github.com/GenXProject/GenX-testlog.git | ||
git remote add testlog https://$LOG_TOKEN@github.com/GenXProject/GenX-testlog.git | ||
git pull testlog main | ||
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 }} | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
|
@@ -52,9 +55,11 @@ jobs: | |
- uses: julia-actions/julia-runtest@v1 | ||
- name: Commit logs and push back to repo | ||
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 }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.