Files
shields/.github/actions/core-tests/action.yml
T
chris48sandGitHub acf189eaf7 migrate 'main' tests to GH actions (#8332)
* implement 'main' tests using GH actions

* remove 'main' builds from Circle CI config

* give jobs better names
2022-08-25 18:02:03 +01:00

22 lines
683 B
YAML

name: 'Core tests'
description: 'Run core and entrypoint tests'
runs:
using: 'composite'
steps:
- name: Core tests
if: always()
run: npm run test:core -- --reporter json --reporter-option 'output=reports/core.json'
shell: bash
- name: Entrypoint tests
if: always()
run: npm run test:entrypoint -- --reporter json --reporter-option 'output=reports/entrypoint.json'
shell: bash
- name: Write Markdown Summary
if: always()
run: |
node scripts/mocha2md.js Core reports/core.json >> $GITHUB_STEP_SUMMARY
node scripts/mocha2md.js Entrypoint reports/entrypoint.json >> $GITHUB_STEP_SUMMARY
shell: bash