From 90e0ff125a946b878d32b2e37f856435227399a6 Mon Sep 17 00:00:00 2001 From: Mark Sims Date: Mon, 21 Oct 2024 12:02:19 +0100 Subject: [PATCH] adds workflow for tests --- .github/workflows/on-push.yaml | 14 ++++++++++++++ .gitignore | 5 +++++ README.md | 6 +----- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/on-push.yaml diff --git a/.github/workflows/on-push.yaml b/.github/workflows/on-push.yaml new file mode 100644 index 0000000..799c469 --- /dev/null +++ b/.github/workflows/on-push.yaml @@ -0,0 +1,14 @@ +name: tests + +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: test + run: | + ./scripts/docker-run-all-tests.sh diff --git a/.gitignore b/.gitignore index 2c8b7b4..5dfa331 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ .idea/ .idea/workspace.xml +.vim +.vscode + run-amqp.iml + +netskope* diff --git a/README.md b/README.md index e4c9571..5a9ad87 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,7 @@ Prerequisites: Run all tests: - docker compose run test - -Run specific test: - - docker compose run test go test -run=TestRequeue_DLQ_Message_After_Retries + ./scripts/docker-run-all-tests.sh ## Test Harness Application