Skip to content

Commit

Permalink
ci: languages tests
Browse files Browse the repository at this point in the history
GitHub will now run all languages tests on pull requests

---

* Closes #12

---
  • Loading branch information
AksharP5 committed Mar 31, 2024
1 parent 30872ce commit 9a49bc6
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test-languages.yaml
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

0 comments on commit 9a49bc6

Please sign in to comment.