Run unit tests #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run unit tests | |
on: | |
workflow_run: | |
workflows: [ "Push latest GISNav multi-arch Docker images to GHCR" ] | |
types: | |
- completed | |
# Allows running manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-20.04 | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Run unit tests | |
run: docker run ghcr.io/${{ github.repository }}:latest make test-unit |