Skip to content

feat(verbose_logging): exclude auth and headers from logging #94

feat(verbose_logging): exclude auth and headers from logging

feat(verbose_logging): exclude auth and headers from logging #94

Workflow file for this run

---
name: Commit
on: push
jobs:
tests:
name: pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setting up tox environment
uses: docker://kiwicom/tox:3.21.2
env:
TOXENV: ${{ matrix.toxenv }}
XDG_CACHE_HOME: /tmp/cache
with:
args: >
sh -c
"
mkdir -p reports ;
tox -e tests-$TOXENV -- --junitxml=reports/$TOXENV/test_report.xml --cov structlog_sentry --cov-report xml --cov-config .coveragerc --cov-append --cov-report xml:reports/coverage.xml
"
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: .tox
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
strategy:
matrix:
toxenv: [py37, py38, py39]
lint:
name: pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setting up tox environment
uses: docker://kiwicom/tox
env:
XDG_CACHE_HOME: /tmp/cache
with:
args: >
sh -c
"
mkdir -p reports ;
tox -e pylint
"
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: .tox
key: ${{ runner.os }}-${{ hashFiles('requirements.txt') }}
commitsar:
name: Commit message style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run commitsar
uses: docker://aevea/commitsar
pre-commit:
name: Static checks
runs-on: ubuntu-latest
container: kiwicom/pre-commit:2.9.3
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
path: .pre-commit-cache
key: static-checks-${{ hashFiles('.pre-commit-config.yaml') }}
- run: mkdir -p .pre-commit-cache
- run: pre-commit install --install-hooks
- run: pre-commit run -a
env:
SKIP: no-commit-to-branch