X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=.github%2Fworkflows%2Ffunctional_test.yml;h=8a2711f3e13ccabffd7db805c01ed773ed6a9413;hb=4a4ac47bb27161044480181f7f7f3ec8adb9e732;hp=b9590eeda6d415736f5a65b68458471df9ee508c;hpb=5f0062f38d53b88f35a8241186c4428d5f1bb779;p=kconfig-hardened-check.git diff --git a/.github/workflows/functional_test.yml b/.github/workflows/functional_test.yml index b9590ee..8a2711f 100644 --- a/.github/workflows/functional_test.yml +++ b/.github/workflows/functional_test.yml @@ -3,12 +3,12 @@ name: functional test on: push: branches: [ master ] - pull_request: - branches: [ master ] jobs: functional_test: + if: github.repository == 'a13xp0p0v/kernel-hardening-checker' + runs-on: ubuntu-latest strategy: @@ -51,6 +51,11 @@ jobs: - name: Get source code for collecting coverage uses: actions/checkout@v4 + - name: Check static typing with mypy + run: | + pip install mypy + mypy kernel_hardening_checker/ + - name: Run the functional tests and collect the coverage run: | pip install coverage