Skip to content

Commit 074dd49

Browse files
committed
minor updates to github actions
1 parent 1aa00e8 commit 074dd49

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.github/workflows/jsource.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
#os: [windows-2019]
2323

2424
steps:
25-
- name: Check Git repository
25+
- name: Checkout Git repository
2626
uses: actions/checkout@v2
2727

2828
- name: Setup Environment (Linux)
@@ -147,13 +147,16 @@ jobs:
147147
runs-on: ubuntu-18.04
148148
needs: jengine
149149
steps:
150+
- name: Checkout Git repository
151+
uses: actions/checkout@v2
152+
150153
- name: Get Test Results
151154
uses: actions/download-artifact@v2
152155
with:
153156
name: dist
154157

155158
- name: Merge Test Results
156-
run: cat testlinux.txt testdarwin.txt testwin.txt > tests.txt
159+
run: script/testgares.sh
157160

158161
- name: Copy Tests to Build
159162
uses: ncipollo/release-action@v1

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ jsrc/jversion.h
1010

1111
# temp scripts used for debugging
1212
*makevs/jdll/*.ijs
13+
foo.ijs
1314
jj.ijs
15+
test*.txt
1416

1517
# windows - most output files go to %userprofile%\jbld\jout
1618
# some end up in the project folder and are marked here

script/testga.ijs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ testres=: 'test',os,'.txt'
88

99
0!:0 <testpath,'tsu.ijs'
1010

11+
stdout LF ,~ 9!:14''
12+
1113
NB. RES=: RUN ddall
1214
RES=: RUN ddall -. < testpath,'gstack.ijs'
1315

script/testgares.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
#
3+
# read any test results into tests.txt
4+
5+
T=tests.txt
6+
> $T
7+
8+
f() { if [ -e $1 ]; then cat $1 >> $T; fi }
9+
10+
f "testlinux.txt"
11+
f "testdarwin.txt"
12+
f "testwin.txt"

0 commit comments

Comments
 (0)