Skip to content

All Tests

All Tests #40

Workflow file for this run

name: All Tests
on:
schedule:
# Every saturday at 2am EST
- cron: '0 7 * * SAT'
workflow_dispatch:
workflow_call:
permissions:
contents: read
checks: write
jobs:
acceptance-tests:
name: Acceptance Tests
runs-on: macos-14
strategy:
fail-fast: false
matrix:
linkage: [static, dynamic]
configuration: [release, debug]
concurrency: ci-all-acceptance-tests-${{ github.ref }}-${{ matrix.linkage }}-${{ matrix.configuration }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
- name: Prepare Worker
uses: ./.github/actions/prepare-worker
- name: Run Acceptance Tests
uses: gradle/[email protected]
with:
arguments: ':acceptance-tests:functional__kgp_latestTest'
build-root-directory: SKIE
env:
KOTLIN_LINK_MODE: ${{ matrix.linkage }}
KOTLIN_BUILD_CONFIGURATION: ${{ matrix.configuration }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
check_name: "Test Reports - Acceptance Tests (${{ matrix.linkage }}, ${{ matrix.configuration }})"
report_paths: 'SKIE/acceptance-tests/build/test-results/functional__*/TEST-*.xml'
require_tests: true
type-mapping-tests:
name: Type Mapping Tests
runs-on: macos-14
strategy:
fail-fast: false
matrix:
target: [ios_arm64, ios_x64, ios_simulator_arm64, macos_arm64, macos_x64]
linkage: [static, dynamic]
configuration: [release]
concurrency: ci-all-type-mapping-tests-${{ github.ref }}-${{ matrix.linkage }}-${{ matrix.configuration }}-${{ matrix.target }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
- name: Prepare Worker
uses: ./.github/actions/prepare-worker
- name: Run Type Mapping Tests
uses: gradle/[email protected]
with:
arguments: ':acceptance-tests:type-mapping__kgp_latestTest'
build-root-directory: SKIE
env:
KOTLIN_LINK_MODE: ${{ matrix.linkage }}
KOTLIN_TARGET: ${{ matrix.target }}
KOTLIN_BUILD_CONFIGURATION: ${{ matrix.configuration }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
check_name: "Test Reports - Type Mapping Tests (${{ matrix.target }}, ${{ matrix.linkage }}, ${{ matrix.configuration }})"
report_paths: 'SKIE/acceptance-tests/build/test-results/type-mapping__*/TEST-*.xml'
require_tests: true
external-libraries-tests:
name: External Libraries Tests
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
linkage: [static, dynamic]
configuration: [release, debug]
concurrency: ci-all-external-libraries-tests-${{ github.ref }}-${{ matrix.linkage }}-${{ matrix.configuration }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }}
- name: Prepare Worker
uses: ./.github/actions/prepare-worker
- name: Run External Libraries Tests
uses: gradle/[email protected]
with:
arguments: ':acceptance-tests:libraries__kgp_latestTest'
build-root-directory: SKIE
env:
KOTLIN_LINK_MODE: ${{ matrix.linkage }}
KOTLIN_BUILD_CONFIGURATION: ${{ matrix.configuration }}
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always()
with:
check_name: "Test Reports - External Libraries Tests (${{ matrix.linkage }}, ${{ matrix.configuration }})"
report_paths: 'SKIE/acceptance-tests/build/test-results/libraries__*/TEST-*.xml'
require_tests: true