* implement 'main' tests using GH actions * remove 'main' builds from Circle CI config * give jobs better names
22 lines
683 B
YAML
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
|