Bump go.einride.tech/aip from 0.62.0 to 0.63.0 (#706) #62
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: Integration Tests | |
on: | |
push: | |
branches: | |
- main | |
- test/** | |
pull_request: | |
branches: | |
- main | |
jobs: | |
end2endtest: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.3 | |
cache: true | |
- name: Install Mage | |
run: go install github.com/magefile/mage | |
- name: Start containers | |
run: docker-compose -f "build/docker-compose.yml" up -d --build ssi redis uni-resolver driver-did-ion | |
- name: End To End Test | |
run: mage integration | |
- name: Save Container Logs to Directory | |
if: failure() | |
run: | | |
docker logs ssi > log/ssi_logs.txt | |
docker cp ssi:/app/log . | |
- name: Upload Logs as Artifact | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: logs | |
path: log/* | |
- name: Stop containers | |
if: always() | |
run: docker-compose -f "build/docker-compose.yml" down |