Skip to content

Fix JSON line logging #4586

Fix JSON line logging

Fix JSON line logging #4586

Workflow file for this run

name: Octopoes tests
on:
push:
branches:
- "main"
- "release-*"
tags:
- "*"
paths:
- octopoes/**
pull_request:
paths:
- octopoes/**
jobs:
test:
strategy:
fail-fast: false
matrix:
version: ["3.10", "3.11"]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
cache: "pip" # caching pip dependencies
- name: Install requirements.txt
run: pip install -r requirements-dev.txt
working-directory: ./octopoes
- name: Run unit tests
run: pytest --cov-report=xml
working-directory: ./octopoes
- if: ${{ matrix.version == '3.11' }}
name: Upload coverage as artifact
uses: actions/upload-artifact@v4
with:
name: coverage
path: octopoes/coverage.xml
- name: Run integration tests
run: DOCKER_BUILDKIT=1 make itest build_args='--build-arg PYTHON_VERSION=${{ matrix.version }}'
working-directory: ./octopoes