diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-04-21 16:08:58 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-04-24 23:16:48 -0300 |
commit | b9885cd5a71b45f4b8c391a99e728c94153b841d (patch) | |
tree | 379e9cce61d079910fd5dbcebee3c99e051e4e48 /.github/workflows/build.yml | |
parent | ci: ignore build workflows on more workflows (diff) | |
download | firejail-b9885cd5a71b45f4b8c391a99e728c94153b841d.tar.gz firejail-b9885cd5a71b45f4b8c391a99e728c94153b841d.tar.zst firejail-b9885cd5a71b45f4b8c391a99e728c94153b841d.zip |
ci: simplify test steps in build.yml
Kind of relates to commit 6d0c7514e ("split make test-github into
different actions", 2023-01-31).
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba2a59be5..429fb5807 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -44,6 +44,8 @@ permissions: # added using https://github.com/step-security/secure-workflows | |||
44 | jobs: | 44 | jobs: |
45 | build_and_test: | 45 | build_and_test: |
46 | runs-on: ubuntu-22.04 | 46 | runs-on: ubuntu-22.04 |
47 | env: | ||
48 | SHELL: /bin/bash | ||
47 | steps: | 49 | steps: |
48 | - name: Harden Runner | 50 | - name: Harden Runner |
49 | uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 | 51 | uses: step-security/harden-runner@6b3083af2869dc3314a0257a42f4af696cc79ba3 |
@@ -71,35 +73,19 @@ jobs: | |||
71 | run: sudo make install | 73 | run: sudo make install |
72 | - name: print firejail version | 74 | - name: print firejail version |
73 | run: command -V firejail && firejail --version | 75 | run: command -V firejail && firejail --version |
74 | - name: lab setup | 76 | - run: make lab-setup |
75 | run: SHELL=/bin/bash make lab-setup | 77 | - run: make test-seccomp-extra |
76 | - name: run seccomp extra tests | 78 | - run: make test-firecfg |
77 | run: SHELL=/bin/bash make test-seccomp-extra | 79 | - run: make test-capabilities |
78 | - name: run firecfg tests | 80 | - run: make test-apparmor |
79 | run: SHELL=/bin/bash make test-firecfg | 81 | - run: make test-appimage |
80 | - name: run capabilities tests | 82 | - run: make test-chroot |
81 | run: SHELL=/bin/bash make test-capabilities | 83 | - run: make test-sysutils |
82 | - name: run apparmor tests | 84 | - run: make test-private-etc |
83 | run: SHELL=/bin/bash make test-apparmor | 85 | - run: make test-profiles |
84 | - name: run appimage tests | 86 | - run: make test-fcopy |
85 | run: SHELL=/bin/bash make test-appimage | 87 | - run: make test-fnetfilter |
86 | - name: run chroot tests | 88 | - run: make test-fs |
87 | run: SHELL=/bin/bash make test-chroot | 89 | - run: make test-utils |
88 | - name: run sysutils tests | 90 | - run: make test-environment |
89 | run: SHELL=/bin/bash make test-sysutils | 91 | - run: make test-network |
90 | - name: run private-etc tests | ||
91 | run: SHELL=/bin/bash make test-private-etc | ||
92 | - name: run profile tests | ||
93 | run: SHELL=/bin/bash make test-profiles | ||
94 | - name: run fcopy tests | ||
95 | run: SHELL=/bin/bash make test-fcopy | ||
96 | - name: run fnetfilter tests | ||
97 | run: SHELL=/bin/bash make test-fnetfilter | ||
98 | - name: run fs tests | ||
99 | run: SHELL=/bin/bash make test-fs | ||
100 | - name: run utils tests | ||
101 | run: SHELL=/bin/bash make test-utils | ||
102 | - name: run environment tests | ||
103 | run: SHELL=/bin/bash make test-environment | ||
104 | - name: run network tests | ||
105 | run: SHELL=/bin/bash make test-network | ||