Skip to content

.

. #157

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- 'documentation/**'
- 'design/**'
pull_request:
types: [ ready_for_review, review_requested ]
paths-ignore:
- 'documentation/**'
- 'design/**'
env:
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }}

Check failure on line 18 in .github/workflows/test-install.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/test-install.yml (Line: 18, Col: 32): Unrecognized named-value: 'env'. Located at position 1 within expression: env.RUNNING_ON_GITHUB

Check failure on line 18 in .github/workflows/test-install.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/test-install.yml (Line: 18, Col: 32): Unrecognized named-value: 'env'. Located at position 1 within expression: env.RUNNING_ON_GITHUB
jobs:
test_install:
name: test build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- name: Set environment variable
run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV
- 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
- name: switch to fworch user for c# unit tests
run: sudo su -l fworch && cd ~/test/csharp/FWO.Test && dotnet test