Skip to content

Add the exception as proposed by github actions #13

Add the exception as proposed by github actions

Add the exception as proposed by github actions #13

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container:
image: golang:1.19
steps:
- uses: actions/checkout@v3
- name: Run make test
run: make test
- name: Run make build
run: make build
test:
runs-on: ubuntu-latest
services:
docker:
image: docker:19.03.12
options: --privileged
steps:
- uses: actions/checkout@v3
- name: Build the Docker images
run: docker-compose build
- name: Run containers in the background
run: docker-compose up -d
- name: build brucutu
run: docker-compose exec -T runner bash -c "cd /brucutu && make build"
- name: Execute tests in runner container
run: docker-compose exec -T runner bash -c "cd /brucutu && make test"
- name: Execute integration tests in runner container
run: docker-compose exec -T runner bash -c "cd /brucutu && make integration"