From 32f57e88fedc9691d72fab3726878d1ab006e3f4 Mon Sep 17 00:00:00 2001 From: Akshar Patel Date: Sat, 30 Mar 2024 04:08:28 +0000 Subject: [PATCH] ci: languages tests GitHub will now run all languages tests on pull requests --- * Closes #12 --- --- .github/workflows/test-languages.yaml | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/test-languages.yaml diff --git a/.github/workflows/test-languages.yaml b/.github/workflows/test-languages.yaml new file mode 100644 index 0000000..e2543ea --- /dev/null +++ b/.github/workflows/test-languages.yaml @@ -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 \ No newline at end of file