Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Apr 29, 2024
1 parent 5e978bf commit a90647e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ jobs:
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Copy test script to temp directory
- name: Copy test script/config to temp directory
run: |
cp tests/generate_exmpale_results.py $RUNNER_TEMP/
cp tests/configs/example-config.json $RUNNER_TEMP/
- name: generate outputs
run: |
python $RUNNER_TEMP/generate_exmpale_results.py examples/mscclang/ tests/configs/example-config.json $RUNNER_TEMP/tests/pr-outputs/
python $RUNNER_TEMP/generate_exmpale_results.py examples/mscclang/ $RUNNER_TEMP/example-config.json $RUNNER_TEMP/tests/pr-outputs/
- name: Checkout main branch
uses: actions/checkout@v4
with:
Expand All @@ -60,7 +61,7 @@ jobs:
pip install -r requirements.txt
- name: generate outputs
run: |
python $RUNNER_TEMP/generate_exmpale_results.py examples/mscclang/ tests/configs/example-config.json $RUNNER_TEMP/tests/main-outputs/
python $RUNNER_TEMP/generate_exmpale_results.py examples/mscclang/ $RUNNER_TEMP/example-config.json $RUNNER_TEMP/tests/main-outputs/
- name: Compare outputs
run: |
diff -rw $RUNNER_TEMP/tests/main-outputs/ $RUNNER_TEMP/tests/pr-outputs/
Expand Down

0 comments on commit a90647e

Please sign in to comment.