Skip to content

Commit 0f027fb

Browse files
committed
Write all results to CI artifacts; store new integration tests artifacts to repo.
1 parent e001819 commit 0f027fb

22 files changed

+10
-2
lines changed

.github/workflows/integration_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ jobs:
6161
else
6262
python tests/integration_testing/run_workflow.py --yaml tests/integration_testing/integration_test.yml
6363
fi
64-
mv ./results/*.json ./tests/integration_testing/results/
64+
rm -rf ./tests/integration_testing/results/*
65+
mv ./results/* ./tests/integration_testing/results/
6566
- name: Upload artifacts
6667
uses: actions/upload-artifact@v3
6768
with:
@@ -73,6 +74,7 @@ jobs:
7374
git pull origin $branch_name
7475
git add ./tests/integration_testing/results/*.json
7576
if [[ $(git diff --cached --exit-code) ]]; then
77+
git add ./tests/integration_testing/results
7678
git config --system user.email "github-action@users.noreply.github.com"
7779
git config --system user.name "GitHub Action"
7880
git commit -m "Upload results files from CI build"

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,10 @@ _build
108108
###################
109109

110110
build/
111-
scout.egg-info/
111+
scout.egg-info/
112+
113+
# Exclude #
114+
###########
115+
116+
!tests/integration_testing/results/plots/tech_potential/*.xlsx
117+
!tests/integration_testing/results/plots/max_adopt_potential/*.xlsx
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)