Skip to content

Remove Tiltfile and workload.yaml #1037

Remove Tiltfile and workload.yaml

Remove Tiltfile and workload.yaml #1037

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
jobs:
list-tests:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- id: list-tests-step
name: List Tests
run: echo "testnames=$( (cd .github/tests && find * -maxdepth 0 -type d) | jq --compact-output --slurp --raw-input 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
outputs:
testnames: ${{steps.list-tests-step.outputs.testnames}}
run-test:
needs: list-tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test: ${{ fromJson(needs.list-tests.outputs.testnames) }}
services:
accelerator:
image: ghcr.io/app-accelerator-build/acc-engine:latest
credentials:
username: ${{secrets.GHCR_USER}}
password: ${{secrets.GHCR_TOKEN}}
ports:
- 8888:8080
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: Set up NodeJS 18
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install xpath script
run: sudo apt-get install -y libxml-xpath-perl
- name: Wait for Engine Container
uses: ifaxity/wait-on-action@v1
with:
resource: http://localhost:8888/actuator
timeout: 10000
- name: Generate ${{matrix.test}}
run: .github/tests/generate.sh ${{matrix.test}}
- name: Test ${{matrix.test}}
run: .github/tests/run-test.sh ${{matrix.test}}