Skip to content

Commit

Permalink
Build the integration test container, too
Browse files Browse the repository at this point in the history
  • Loading branch information
dontlaugh committed Jan 1, 2025
1 parent f1e678f commit 21ca9ae
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

jobs:
test_script:
unit_tests:
runs-on: ubuntu-latest

container:
Expand All @@ -17,6 +17,18 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Test Script
run: sh ./bin/test-script.sh
- 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/*'

0 comments on commit 21ca9ae

Please sign in to comment.