Skip to content

Create codeql.yml #3849

Create codeql.yml

Create codeql.yml #3849

Workflow file for this run

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 -e REPO_ACCESS_TOKEN=${{ secrets.REPO_ACCESS_TOKEN }} -v $(pwd):/opt/fiware-orion ${{ env.TEST_IMAGE_NAME }} build -miqts unit