-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub will now run all languages tests on pull requests --- * Closes #12 ---
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Test Languages | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Test Languages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Checkout PLCC | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ourPLCC/plcc | ||
- | ||
name: Build test image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: ./containers/plcc/Dockerfile | ||
tags: test-image:latest | ||
push: false | ||
- | ||
name: Checkout Languages | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: ourPLCC/languages | ||
ref: ${{ github.head_ref }} | ||
- | ||
name: Test Languages | ||
uses: addnab/docker-run-action@v3 | ||
with: | ||
image: test-image:latest | ||
options: -v ${{ github.workspace }}:/languages | ||
run: | | ||
/languages/bin/test.bash |