Skip to content

nan min/max to handle possible nan ghosts #822

nan min/max to handle possible nan ghosts

nan min/max to handle possible nan ghosts #822

Workflow file for this run

name: "CodeQL"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "42 19 * * 4"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
container: ghcr.io/pharchive/phare_dep/ubuntu:22.04
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ python, cpp ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure (cpp)
if: ${{ matrix.language == 'cpp' }}
run: mkdir build; cd build; cmake .. -Dphare_configurator=ON
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql-config.yml
languages: ${{ matrix.language }}
queries: +security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v2
if: ${{ matrix.language == 'python' }}
- name: Build cpp
if: ${{ matrix.language == 'cpp' }}
run: cd build; make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"