Limit GDP log monitor noise for own security scanners (#319) #1334
This file contains hidden or 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
# This workflow will install Python dependencies and run internal tests with a representative selection of OS and Python platforms | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
name: Continuous Integration | |
on: | |
# Triggers the workflow on push or pull request events but only for this git branch | |
push: | |
paths-ignore: | |
- 'README' | |
- 'COPYING' | |
- 'NEWS' | |
- '*.txt' | |
- 'doc/**' | |
- 'doc-src/**' | |
- 'user-projects/**' | |
- 'state/**' | |
- 'certs/**' | |
- 'MiG-certificates/**' | |
- 'mig/images/**' | |
- 'mig/assets/**' | |
- 'mig/src/**' | |
- 'mig/apache/**' | |
- 'mig/bin/**' | |
- 'mig/java-bin/**' | |
branches: | |
- experimental | |
- next | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths-ignore: | |
- 'README' | |
- 'COPYING' | |
- 'NEWS' | |
- '*.txt' | |
- 'doc/**' | |
- 'doc-src/**' | |
- 'user-projects/**' | |
- 'state/**' | |
- 'certs/**' | |
- 'MiG-certificates/**' | |
- 'mig/images/**' | |
- 'mig/assets/**' | |
- 'mig/src/**' | |
- 'mig/apache/**' | |
- 'mig/bin/**' | |
- 'mig/java-bin/**' | |
branches: | |
- experimental | |
- next | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
# NOTE: We rely on containers for everything to get version consistency | |
python3-latest: | |
name: Run internal tests in latest stable python3 | |
runs-on: ubuntu-latest | |
container: | |
image: python:3 | |
volumes: | |
- .:/usr/src/app | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Setup environment | |
run: | | |
make PYTHON_BIN=python3 dependencies | |
- name: Run tests | |
run: | | |
make PYTHON_BIN=python3 unittest | |
python3-rocky10: | |
name: Run internal tests in default python3 on Rocky10 | |
runs-on: ubuntu-latest | |
container: | |
image: rockylinux/rockylinux:10 | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 and make with DNF | |
run: | | |
dnf install -y python3 python3-pip make | |
- name: Setup environment | |
run: | | |
make dependencies | |
- name: Run tests | |
run: | | |
make unittest | |
python3-rocky9: | |
name: Run internal tests in default python3 on Rocky9 | |
runs-on: ubuntu-latest | |
container: | |
image: rockylinux/rockylinux:9 | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 and make with DNF | |
run: | | |
dnf install -y python3 python3-pip make | |
- name: Setup environment | |
run: | | |
make dependencies | |
- name: Run tests | |
run: | | |
make unittest | |
python3-rocky8: | |
name: Run internal tests in default python3 on Rocky8 | |
runs-on: ubuntu-latest | |
container: | |
image: rockylinux/rockylinux:8 | |
steps: | |
- name: Check out source repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3 and make with DNF | |
run: | | |
dnf install -y python3 python3-pip make | |
- name: Setup environment | |
run: | | |
make dependencies | |
- name: Run tests | |
run: | | |
make unittest |