Skip to content

Merge pull request #11 from vpereira/update_version #33

Merge pull request #11 from vpereira/update_version

Merge pull request #11 from vpereira/update_version #33

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
container:
image: golang:1.21
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:
- name: Install docker-compose
run: sudo apt-get install -y docker-compose
- 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"