From 101d93a6d0091f9095104e4387f60caa85c52b24 Mon Sep 17 00:00:00 2001 From: Marko Ristin Date: Mon, 18 Jan 2021 07:00:44 +0100 Subject: [PATCH] Test e2e that sing-off enforcement fires This is an end-to-end test to manually check that the sign-off enforcements fires. Please do not close this pull request. If you want to re-test the sign-off enforcement, just rebase this commit to the master branch and do a forced push. No `Signed-off-by:` line is expected in this commit body and the developer should manually check that the checks fail on this pull request. --- .github/workflows/build-and-test.yml | 36 ------------------- .../test-sign-off-enforcement-fires.yml | 12 +++++++ 2 files changed, 12 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/build-and-test.yml create mode 100644 .github/workflows/test-sign-off-enforcement-fires.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml deleted file mode 100644 index 688d449..0000000 --- a/.github/workflows/build-and-test.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: "build-and-test" -on: - pull_request: - push: - branches: - - master - - dev - -jobs: - build: - runs-on: windows-latest - steps: - - uses: actions/checkout@v1 - - - name: Install dependencies - run: npm install - - - name: Execute all scripts - run: npm run all - - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: ./ - with: - additional-verbs: 'chrusimusi, unit-test' - path-to-additional-verbs: src/additional-verbs.txt - - test-allow-one-liners: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: ./ - with: - allow-one-liners: 'true' diff --git a/.github/workflows/test-sign-off-enforcement-fires.yml b/.github/workflows/test-sign-off-enforcement-fires.yml new file mode 100644 index 0000000..2e9df5c --- /dev/null +++ b/.github/workflows/test-sign-off-enforcement-fires.yml @@ -0,0 +1,12 @@ +name: "e2e-test-sign-off-enforcement" +on: [push] + +jobs: + test-sign-off-enforcement-fires: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + + - uses: ./ + with: + enforce-sign-off: 'true'