Skip to content

Merge pull request #1 from shjala/workflow_upgrade #3

Merge pull request #1 from shjala/workflow_upgrade

Merge pull request #1 from shjala/workflow_upgrade #3

Workflow file for this run

name: Unit tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Test
run: |
bash test/runtests.sh
- name: Report test results as Annotations
if: ${{ always() }}
uses: guyarb/[email protected]
with:
test-results: test/results.json
- name: Store raw test results
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: 'test-report'
path: ${{ github.workspace }}/test
- name: Get code coverage
uses: codecov/codecov-action@v3