Files
mtusi2026lab5/.github/workflows/application.yml
2026-11-13 12:48:18 +03:00

29 lines
850 B
YAML

name: Application
on: [push, pull_request]
permissions:
contents: read
jobs:
application:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.27.2'
cache-dependency-path: service/go.sum
- run: make check build vet
- run: make up
- run: make test test-go test-storage test-images test-staging test-broker-persistence
- run: make test-persistence ACTION_SCRIPT=scripts/restart.sh
- run: make test-failover ACTION_SCRIPT=scripts/stop-one.sh
- run: make restore
- run: make test-pipeline
- uses: actions/upload-artifact@v4
if: always()
with:
name: pipeline-evidence
path: evidence/pipeline.json
- run: make down
if: always()