|
16 | 16 | - 'design/**' |
17 | 17 |
|
18 | 18 | jobs: |
19 | | - # test_puppeteer_pdf: |
20 | | - # name: Puppeteer test on ${{ matrix.os }} |
21 | | - # runs-on: ${{ matrix.os }} |
22 | | - # strategy: |
23 | | - # matrix: |
24 | | - # os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04] |
25 | | - # steps: |
26 | | - |
27 | | - # env: |
28 | | - # RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }} |
| 19 | + test_puppeteer_pdf: |
| 20 | + name: Puppeteer test on ${{ matrix.os }} |
| 21 | + runs-on: ${{ matrix.os }} |
| 22 | + strategy: |
| 23 | + matrix: |
| 24 | + os: [ubuntu-latest, ubuntu-20.04, ubuntu-22.04] |
| 25 | + steps: |
| 26 | + - name: Set environment variable |
| 27 | + run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV |
| 28 | + - uses: actions/checkout@v4 |
| 29 | + - name: Setup dotnet |
| 30 | + uses: actions/setup-dotnet@v4 |
| 31 | + - name: exec dotnet test |
| 32 | + run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest" |
| 33 | + env: |
| 34 | + RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }} |
29 | 35 |
|
30 | 36 | test_ubuntu_latest: |
31 | 37 | name: test build on ${{ matrix.os }} |
|
38 | 44 | run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV |
39 | 45 | - uses: actions/checkout@v4 |
40 | 46 | - name: do test install in case of merged pull request |
41 | | - run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K --skip-tags unittests |
| 47 | + run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K |
42 | 48 | env: |
43 | 49 | RUNNING_ON_GITHUB_ACTIONS: ${{ env.RUNNING_ON_GITHUB }} |
44 | | - - name: Set environment variable |
45 | | - run: echo "RUNNING_ON_GITHUB=1" >> $GITHUB_ENV |
46 | | - - uses: actions/checkout@v4 |
47 | | - - name: Setup dotnet |
48 | | - uses: actions/setup-dotnet@v4 |
49 | | - - name: exec dotnet test |
50 | | - run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator/roles/tests-unit/files/FWO.Test && dotnet restore && dotnet build && dotnet test --filter "Name=HtmlToPdfTest" |
0 commit comments