Skip to content

Debug action

Debug action #3

Workflow file for this run

on:
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: ./.github/actions/setup-environment
- run: ./nx lint
build:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
imageName:
- wikibase
- elasticsearch
- wdqs
- wdqs-frontend
- wdqs-proxy
- quickstatements
steps:
- uses: ./.github/actions/setup-environment
- name: Build and push ${{ matrix.imageName }}
run: pnpm exec nx build ${{ matrix.imageName }} --push
test:

Check failure on line 35 in .github/workflows/_build_test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/_build_test.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
needs: build
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
suite:
- repo
- fedprops
- repo_client
- quickstatements
- pingback
- confirm_edit
- elasticsearch
- deploy
steps:
- uses: ./.github/actions/setup-environment
- name: "Pull images from GHCR"
uses: ./.github/actions/pull-ghcr
- uses: "Run ${{ matrix.suite }} test suite"
- run: pnpm exec nx test -- ${{ matrix.suite }}
- name: Show logs
run: |
ls -lahr test/suites/${{ matrix.suite }}/results test/suites/${{ matrix.suite }}/results/*
tail -n +1 test/suites/${{ matrix.suite }}/results/*.log
continue-on-error: true
- uses: actions/upload-artifact@v3
with:
name: TestResults
path: test/suites/**/results
test-success:
runs-on: ubuntu-latest
needs:
- lint
- test
steps:
- run: true