Skip to content

add logging

add logging #17

Workflow file for this run

name: Testing
on: ["push", "pull_request"]
env:
POSTGRES_URL: ${{ vars.POSTGRES_URL }}
SERVER_HOST: ${{ vars.SERVER_HOST }}
SERVER_PORT: ${{ vars.SERVER_PORT }}
LOG_LEVEL: ${{ vars.LOG_LEVEL }}
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@master
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python -m poetry install
- name: Run pytest
run: |
PYTHONPATH=$(pwd)
export PYTHONPATH
poetry run pytest