Skip to content

Commit ea6b4ed

Browse files
committed
Fix CI
1 parent 7f9b8bd commit ea6b4ed

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/test_and_build.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,22 @@ jobs:
110110
name: embark_win64
111111
path: .
112112
- name: Test
113+
id: test
114+
continue-on-error: true
113115
run: |
114-
cd tests/package
116+
copy embark.exe tests/package/embark.exe
117+
cd tests/package/assets
115118
./download_execs.ps1
116-
cd ../..
117-
./embark.exe run tests/package/playbook.yml --report
119+
cd ..
120+
./embark.exe run playbook.yml --report
118121
- name: Save logs and report artifact
119122
uses: actions/upload-artifact@v4
120123
with:
121124
name: embark_win64
122125
path: |
123-
embark.log
124-
embark_report.tmp
126+
tests/package/embark.log
127+
tests/package/embark_report.tmp
125128
retention-days: 7
129+
- name: Exit if tests failed
130+
if: steps.test.outcome != 'success'
131+
run: exit 1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cd assets
21
pip install gdown
32
iwr https://download-cdn.jetbrains.com/idea/ideaIC-2024.2.3.exe
43
iwr https://download.jetbrains.com/python/pycharm-community-2024.2.3.exe
@@ -7,4 +6,3 @@ iwr https://www.niisi.ru/kumir/kumir2-2.1.0-rc11-install.exe
76
gdown https://drive.google.com/file/d/1_FWPloZue2wfwKchzJd_rWwyLl6Xv0Kf/view?usp=drive_link --fuzzy
87
iwr https://pascalabc.net/downloads/PascalABCNETSetup.exe
98
iwr https://www.python.org/ftp/python/3.13.1/python-3.13.1-amd64.exe
10-
cd ..

0 commit comments

Comments
 (0)