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 30, 2024
1 parent 30872ce commit 32f57e8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test-languages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
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: Test Languages
uses: addnab/docker-run-action@v3
with:
image: test-image:latest
run: |
git clone https://github.com/ourPLCC/languages.git
./languages/bin/test.bash
rm -rf languages

0 comments on commit 32f57e8

Please sign in to comment.