Merge pull request #4473 from fisuda/patch-2 #3378
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: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- '!checkvalgrind**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
TEST_IMAGE_NAME: telefonicaiot/fiware-orion:ci | |
jobs: | |
unit: | |
runs-on: ubuntu-22.04 | |
services: | |
mongodb: | |
image: mongo:6.0 | |
ports: | |
- 27017:27017 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: | | |
docker run --network host -t --rm -v $(pwd):/opt/fiware-orion ${{ env.TEST_IMAGE_NAME }} build -miqts unit |