Skip to content

Added the whole lab5 #10

Added the whole lab5

Added the whole lab5 #10

name: Integration tests ci-cd
on:
pull_request:
branches:
- '*'
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update packages and module
run: |
go get -u ./...
go mod download
go mod tidy
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: Running integration test
run: docker-compose -f docker-compose.yaml -f docker-compose.test.yaml up --exit-code-from test