-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (53 loc) · 1.72 KB
/
check-reproducibility-inconsistent-results.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Reproducibility Check Inconsistent Results
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
maven: [ '3.9.2' ]
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: echo "GRAALVM_HOME=$GRAALVM_HOME" >> $GITHUB_ENV
- 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
channels: conda-forge,defaults
activate-environment: AST
environment-file: environment.yml
- name: Clean caches & workspace
run: make clean
- run: echo "LOGURU_COLORIZE=NO" >> $GITHUB_ENV
- name: Build
run: cd src/scripts/merge_tools/merging && ./gradlew shadowJar
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
- name: make check-merges-reproducibility
run: |
python3 src/python/utils/build_inconsistent_merges.py
head -n 11 results/combined/inconsistent_results.csv > temp.csv && mv temp.csv results/combined/inconsistent_results.csv
make CSV_RESULTS=results/combined/inconsistent_results.csv check-merges-reproducibility
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}