Skip to content

Merge branch 'puppeteer' of https://github.com/SolidProgramming/firew… #140

Merge branch 'puppeteer' of https://github.com/SolidProgramming/firew…

Merge branch 'puppeteer' of https://github.com/SolidProgramming/firew… #140

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
paths-ignore:
- 'documentation/**'
- 'design/**'
pull_request:
types: [ ready_for_review, review_requested ]
paths-ignore:
- 'documentation/**'
- 'design/**'
jobs:
unit_tests:
name: Puppeteer test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
RUNNING_ON_GITHUB_ACTIONS: 'true'
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
- name: exec dotnet test
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test
test_ubuntu_latest:
name: test build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
RUNNING_ON_GITHUB_ACTIONS: 'true'
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- name: do test install in case of merged pull request
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K --skip-tags unittests