-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check reproducible results in CI/CD (#285)
- Loading branch information
1 parent
0fc1a7f
commit d5ed25c
Showing
9 changed files
with
183 additions
and
64 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[user] | ||
email = [email protected] | ||
name = Example Example |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Reproducibility Check | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
maven: [ '3.9.2' ] | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 17.0.7 | ||
- run: echo "JAVA17_HOME=$JAVA_HOME" >> $GITHUB_ENV | ||
- run: java -version | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Set up Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
- name: Setup miniconda | ||
uses: conda-incubator/setup-miniconda@v3 | ||
with: | ||
python-version: 3.12 | ||
auto-update-conda: true | ||
mamba-version: "*" | ||
channels: conda-forge,defaults | ||
activate-environment: AST | ||
environment-file: environment.yml | ||
- name: Install maven | ||
uses: s4u/[email protected] | ||
with: | ||
java-version: 17 | ||
maven-version: ${{ matrix.maven }} | ||
- name: Clean caches & workspace | ||
run: make clean | ||
- run: echo "LOGURU_COLORIZE=NO" >> $GITHUB_ENV | ||
- name: make check-merges-reproducibility | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Example Example" | ||
head -n 151 results/combined/result.csv > temp.csv && mv temp.csv results/combined/result.csv | ||
make check-merges-reproducibility | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Run Small test | ||
name: Small test | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
|
@@ -47,17 +47,19 @@ jobs: | |
- name: Install PdfLaTeX | ||
run: sudo apt update && sudo apt install texlive-latex-extra -y | ||
- name: Install maven | ||
uses: s4u/setup-maven-action@v1.8.0 | ||
uses: s4u/setup-maven-action@v1.12.0 | ||
with: | ||
java-version: 17 | ||
maven-version: ${{ matrix.maven }} | ||
- name: Clean caches & workspace | ||
run: make clean | ||
- name: Install killall | ||
run: sudo apt update && sudo apt install psmisc -y | ||
- run: echo "LOGURU_COLORIZE=NO" >> $GITHUB_ENV | ||
- name: Run small test | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Example Example" | ||
git config --global merge.customMerge.name "Always incorrect custom merge driver" | ||
git config --global merge.customMerge.driver 'fake-merge-driver %O %A %B %L %P' | ||
make small-test | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} |
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 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 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 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 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
Oops, something went wrong.