Skip to content

Minor tweaks: it's called the *TestSuite now, and removed a redundant type annotation. #30

Minor tweaks: it's called the *TestSuite now, and removed a redundant type annotation.

Minor tweaks: it's called the *TestSuite now, and removed a redundant type annotation. #30

Workflow file for this run

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