Skip to content

Commit 9e2bf4e

Browse files
committed
to(ci): check export output
1 parent adc3131 commit 9e2bf4e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,24 @@ jobs:
5555
id: tag
5656
uses: actions-ecosystem/action-get-latest-tag@v1
5757

58-
- name: Build, Test, and Export XML
58+
- name: Build and Test
5959
run: |
6060
# Run build
6161
echo "zpm \"load /source $build_flags\":1:1" > build
6262
# Test package is compiled first as a workaround for some dependency issues.
6363
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test
6464
# Run tests
6565
echo "zpm \"$package test -only $test_flags\":1:1" >> test
66+
docker exec --interactive $instance iris session $instance -B < build && docker exec --interactive $instance iris session $instance -B < test && docker exec --interactive $instance iris session $instance -B
67+
68+
- name: Export XML
69+
run: |
6670
# Pick the targets to export as XML
6771
echo 'set list("TestCoverage.*.cls") = ""' >> export
6872
echo 'set list("TestCoverage.inc") = ""' >> export
69-
echo 'do $System.OBJ.Export(.list,"TestCoverage-${{ steps.tag.outputs.tag }}.xml","/exportversion=2017.2")' >> export
70-
docker exec --interactive $instance iris session $instance -B < build && docker exec --interactive $instance iris session $instance -B < test && docker exec --interactive $instance iris session $instance -B < export
73+
echo 'do $System.OBJ.Export(.list,"/source/TestCoverage-${{ steps.tag.outputs.tag }}.xml","/exportversion=2017.2")' >> export
74+
docker exec --interactive $instance iris session $instance -B < export
75+
ls -lR
7176
7277
- name: Create Release
7378
id: create_release

0 commit comments

Comments
 (0)