Skip to content

separating and adjusting services #77

separating and adjusting services

separating and adjusting services #77

Workflow file for this run

name: test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
virtualenvs-in-project: false
installer-parallel: true
- name: Install dependencies
run: poetry install --no-interaction --no-root --with dev
- uses: pre-commit/[email protected]
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build docker images
run: docker compose build
# Testing if environment can be created with Docker Compose
- name: Run tests
run: docker compose run web pytest