[tooling] Build a lot less (#191) #757
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: Continuous integration | |
on: | |
pull_request: # All | |
push: | |
branches: | |
- main | |
jobs: | |
hygiene-tests: | |
name: Repository hygiene | |
runs-on: ubuntu-latest | |
steps: | |
- name: Job information | |
run: | | |
echo "Job information" | |
echo "Trigger: ${{ github.event_name }}" | |
echo "Host: ${{ runner.os }}" | |
echo "Repository: ${{ github.repository }}" | |
echo "Branch: ${{ github.ref }}" | |
docker images | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Python lint | |
run: make python-lint | |
- name: Automated hygiene verification | |
run: make check-hygiene | |
- name: uss_qualifier documentation validation | |
run: make validate-uss-qualifier-docs | |
- name: Shell lint | |
run: make shell-lint | |
monitorlib-test: | |
name: monitorlib tests | |
uses: ./.github/workflows/monitoring-test.yml | |
with: | |
name: monitorlib | |
script: | | |
cd monitoring/monitorlib | |
make test | |
mock_uss-test: | |
name: mock_uss tests | |
uses: ./.github/workflows/monitoring-test.yml | |
with: | |
name: mock_uss | |
script: | | |
cd monitoring/mock_uss | |
make test | |
uss_qualifier_F3411-22a-test: | |
name: uss_qualifier tests (F3411-22a configuration) | |
uses: ./.github/workflows/monitoring-test.yml | |
with: | |
name: uss_qualifier_F3411-22a | |
script: | | |
export RID_VERSION=F3411-22a \ | |
CONFIG_NAME="" \ | |
USS_QUALIFIER_STOP_FAST=true | |
cd monitoring/uss_qualifier | |
make test | |
uss_qualifier_F3411-19-test: | |
name: uss_qualifier tests (F3411-19 configuration) | |
uses: ./.github/workflows/monitoring-test.yml | |
with: | |
name: uss_qualifier_F3411-19 | |
script: | | |
export RID_VERSION=F3411-19 \ | |
CONFIG_NAME=configurations.dev.netrid_v19 \ | |
USS_QUALIFIER_STOP_FAST=true | |
cd monitoring/uss_qualifier | |
make test | |
prober-test: | |
name: prober tests | |
uses: ./.github/workflows/monitoring-test.yml | |
with: | |
name: prober | |
script: | | |
cd monitoring/prober | |
make test |