Minor tweaks: it's called the *TestSuite
now, and removed a redundant type annotation.
#30
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
name: Kotlin Transpilation Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
run-tests-kotlin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v3 | |
- name: Build the container | |
run: docker build . | |
- name: Build container | |
id: asbyrgi_container | |
run: | | |
docker build . | |
echo ::set-output name=ASBYRGI_CONTAINER_ID::$(docker build -q .) | |
- name: Generate goldens | |
run: | | |
export ASBYRGI_CONTAINER_ID=${{ steps.asbyrgi_container.outputs.ASBYRGI_CONTAINER_ID }} | |
scripts/gen_all_goldens.sh | |
- name: Generate Kotlin code and tests | |
run: | | |
export ASBYRGI_CONTAINER_ID=${{ steps.asbyrgi_container.outputs.ASBYRGI_CONTAINER_ID }} | |
scripts/gen_all_kt_code_and_tests.sh | |
- name: 'RUN ALL KOTLIN TESTS' | |
run: docker run -v "$PWD/kt_test":/kt_test $(docker build -q .) ktRunTests |