Merge pull request #2793 from SolidProgramming/Issue_2786 #1718
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: Build | |
on: | |
push: | |
branches: [ main, develop ] | |
paths-ignore: | |
- 'documentation/**' | |
- 'design/**' | |
pull_request: | |
types: [ ready_for_review, review_requested ] | |
branches: [ main, develop ] | |
paths-ignore: | |
- 'documentation/**' | |
- 'design/**' | |
jobs: | |
test_ubuntu_latest: | |
name: test build on ubuntu latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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 | |
env: | |
RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }} |