Skip to content

Commit 21ca9ae

Browse files
committed
Build the integration test container, too
1 parent f1e678f commit 21ca9ae

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
jobs:
10-
test_script:
10+
unit_tests:
1111
runs-on: ubuntu-latest
1212

1313
container:
@@ -17,6 +17,18 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v3
1919

20-
- name: Run Test Script
21-
run: sh ./bin/test-script.sh
20+
- name: Run unit tests
21+
run: sh ./bin/ci-unit-tests.sh
2222

23+
24+
integration_tests:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout code
28+
uses: actions/checkout@v3
29+
30+
- name: Build custom image with all our tools
31+
run: docker build -f ./Dockerfile -t project-test-image .
32+
33+
- name: Run integration tests
34+
run: docker run --rm -w /opt/rakuast-rakudoc-render project-test-image sh -c 'prove6 xt/*'

0 commit comments

Comments
 (0)