Skip to content

make compliance tests fail non-interrupting in CI #342

make compliance tests fail non-interrupting in CI

make compliance tests fail non-interrupting in CI #342

Workflow file for this run

name: build
on:
push:
branches: [ '*' ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
name: Validate compliance tests
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
working-directory: sof-js
run: bun install
- name: Check formatting
working-directory: sof-js
run: bun run check-fmt
- name: Validate JSON tests
working-directory: sof-js
run: bun run validate
run-tests:
needs: build

Check failure on line 28 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 28, Col: 5): Required property is missing: runs-on .github/workflows/main.yaml (Line: 35, Col: 5): Required property is missing: runs-on
name: Run compliance tests
steps:
- name: Run tests
working-directory: sof-js
run: bun test
deploy:
if: ${{ always() }}
needs: run-tests
name: Deploy the playground
steps:
- name: Build
working-directory: sof-js
run: bun build src/index.js > ../test_report/public/processor.js
- name: Build test report
working-directory: test_report
run: bun run prepare && bun run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'test_report/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2