Check reproducible results in CI/CD #24
Workflow file for this run
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
name: Run Reproducibility Check | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
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 | |
- 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 101 results/combined/result.csv > results/combined/result_trimmed.csv | |
make NUM_PROCESSES=1 check-merges-reproducibility | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} |