477 pack for nir 2 #265
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: CI | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build system images (non-pulling) | |
run: | | |
# build base image | |
docker build -f Dockerfile_base -t dvivanov/dis-base:v0.3 . | |
- name: Build docker-compose | |
run: | | |
cp .env_example .env | |
docker compose build | |
- name: Run docker-compose | |
run: | | |
docker compose up -d | |
sleep 10 | |
- name: Run tests | |
run: | | |
curl http://localhost:8080 | |
curl http://localhost:5555 |