Skip to content

Commit

Permalink
Add CI workflow for tests (#147)
Browse files Browse the repository at this point in the history
This commit adds a Github action configuration to build and run tests for the SDK.
  • Loading branch information
atanzu authored Dec 11, 2024
1 parent eb739b6 commit 9e9e875
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-run-tests.yml
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit 9e9e875

Please sign in to comment.