Skip to content

initial commit

initial commit #16

Workflow file for this run

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: cleanup disk space
run: |
df -H
docker system prune -a -f
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -H
- name: create buildx builder
run: docker buildx create --use --name builder --bootstrap
- name: build aikit
run: docker buildx build . -t sozercan/aikit:latest --load
# TODO: cache stuff
- name: build test model
run: docker buildx build . -t sozercan/testmodel:latest -f test/aikitfile.yaml --load
- name: list images
run: docker images
- 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