Skip to content

Journey Tests

Journey Tests #2

Workflow file for this run

name: Journey Tests
permissions:
checks: write
pull-requests: write
on:
workflow_dispatch:
workflow_call:
jobs:
build:
name: run-tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
repository: cdp-portal-journey-tests

Check failure on line 19 in .github/workflows/journey-tests.yml

View workflow run for this annotation

GitHub Actions / Journey Tests

Invalid workflow file

The workflow is not valid. .github/workflows/journey-tests.yml (Line: 19, Col: 9): Unexpected value 'repository'
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Setup the tests
run: npm i
- name: Start docker compose
run: docker compose up --wait-timeout 300 -d --quiet-pull
- name: Run the tests
run: |
npm run test:github
npm run report
- name: debug
if: failure()
run: |
docker compose logs > logs.txt
docker ps