initial commit #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker-test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
permissions: read-all | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: create buildx builder | |
run: docker buildx create --use --name builder --bootstrap | |
- name: build aikit | |
run: docker buildx build . -t sozercan/aikit:latest --load | |
- name: build test model | |
run: docker buildx build . -t sozercan/testmodel:latest -f test/aikitfile.yaml --load | |
- name: run test model | |
run: docker run -d -p 8080:8080 sozercan/testmodel:latest | |
- name: run bats tests | |
run: make test-e2e-dependencies test-e2e |