From 02b396b38c68a742b514edc14fee8a3b96f10f20 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Fri, 6 Nov 2020 16:11:15 +0100 Subject: [PATCH 1/2] Run tests on GitHub Actions instead of travis --- .github/workflows/tests.yml | 16 ++++++++++++++++ .travis.yml | 8 -------- 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/tests.yml delete mode 100755 .travis.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..c3fafeb --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,16 @@ +name: Infrastructure Tests +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Infrastructure Tests + run: | + chmod +x runTests.sh + ./runTests.sh + env: + CX_INFRA_IT_CF_USERNAME: ${{ secrets.CX_INFRA_IT_CF_USERNAME }} + CX_INFRA_IT_CF_PASSWORD: ${{ secrets.CX_INFRA_IT_CF_PASSWORD }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100755 index bc34f09..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -branches: - only: - - master - - /^it\/.*$/ -language: minimal -services: -- docker -script: chmod +x runTests.sh && ./runTests.sh From 7ca857a06a952ac30aff9e2e52d7fcc5f0e695a9 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Mon, 9 Nov 2020 11:20:54 +0100 Subject: [PATCH 2/2] Update tests.yml --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c3fafeb..5abcd66 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,9 @@ name: Infrastructure Tests on: push: + branches: [ master ] + pull_request: + branches: [ master ] jobs: build: