From 9e9e875be25f5b63e5b1975fc52232499b8e637a Mon Sep 17 00:00:00 2001 From: Mark Kirichenko Date: Wed, 11 Dec 2024 08:28:14 +0100 Subject: [PATCH] Add CI workflow for tests (#147) This commit adds a Github action configuration to build and run tests for the SDK. --- .github/workflows/docker-run-tests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/docker-run-tests.yml diff --git a/.github/workflows/docker-run-tests.yml b/.github/workflows/docker-run-tests.yml new file mode 100644 index 0000000..864acea --- /dev/null +++ b/.github/workflows/docker-run-tests.yml @@ -0,0 +1,18 @@ +name: Docker Test CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the Docker image and run tests + run: docker build --target test -t test:$(date +%s) -f containers/Dockerfile.al2 .