Skip to content

Merge branch 'main' into doc/ci-dev #242

Merge branch 'main' into doc/ci-dev

Merge branch 'main' into doc/ci-dev #242

Workflow file for this run

name: Pytest
on: [push]
jobs:
Testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache Poetry
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install Deps
run: poetry install
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Build and run containers
run: docker-compose up -d --build
- name: Run integration tests
run: docker-compose run tests
- name: Remove containers
run: docker-compose down