Build the integration test container, too #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run test script | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
container: | |
image: rakudo-star:2024.12 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run unit tests | |
run: sh ./bin/ci-unit-tests.sh | |
integration_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build custom image with all our tools | |
run: docker build -f ./Dockerfile -t project-test-image . | |
- name: Run integration tests | |
run: docker run --rm -w /opt/rakuast-rakudoc-render project-test-image sh -c 'prove6 xt/*' |