Skip to content

Remove interactive terminal mode. #5816

Remove interactive terminal mode.

Remove interactive terminal mode. #5816

Workflow file for this run

name: Run XYZ Hub tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Start the XYZ Hub stack
run: mvn clean install -Pdocker -DskipTests=true -DdockerComposeFile=docker-compose-dynamodb.yml
- name: Deploy StepLambda for Job API
run: ./xyz-jobs/xyz-job-steps/src/main/bash/deployLocalLambda.sh
env:
AWS_ACCESS_KEY_ID: localstack
AWS_SECRET_ACCESS_KEY: localstack
AWS_DEFAULT_REGION: us-east-1
- name: Run Setup of JobService
working-directory: ./xyz-jobs/xyz-job-service/src/main/bash
run: docker run --rm --entrypoint '' -v ./localSetup.sh:/aws/localSetup.sh --add-host host.docker.internal=host-gateway amazon/aws-cli ./localSetup.sh true
- name: Run tests
working-directory: ./
run: mvn verify -DskipTests=false