feat: Automatic masking of sensitive data in the output by default #3581
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build jobs | |
# Triggered by changes in code-specific or job-specific files | |
on: | |
pull_request: | |
paths: | |
- "**.py" | |
- ".github/workflows/*.yml" | |
- ".pre-commit-config.yaml" | |
- ".relint.yml" | |
- ".yamllint" | |
- "pyproject.toml" | |
- "tox.ini" | |
- "mypy.ini" | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
FORCE_COLOR: "1" | |
TOX_TESTENV_PASSENV: FORCE_COLOR | |
jobs: | |
pre-commit: | |
name: Generic pre-commit checks | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3.0.0 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-python@v3.1.0 | |
with: | |
python-version: 3.9 | |
- run: pip install pre-commit | |
- run: pre-commit run --all-files | |
docs: | |
name: Documentation | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3.0.0 | |
with: | |
fetch-depth: 1 | |
- uses: ammaraskar/sphinx-action@master | |
with: | |
docs-folder: "docs/" | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-2019] | |
python: ["3.7", "3.8", "3.9", "3.10", "3.11"] | |
# Set the patch version for "python", so GitHub adds 3 configurations instead of expanding existing ones | |
include: | |
- os: ubuntu-20.04 | |
python: "3.9.16" | |
tox_env: hypothesis648 | |
- os: ubuntu-20.04 | |
python: "3.9.16" | |
tox_env: pytest6 | |
- os: ubuntu-20.04 | |
python: "3.9.16" | |
tox_env: pytest53 | |
fail-fast: false | |
name: Tests (Python ${{ matrix.python }} on ${{ matrix.os }} ${{ matrix.tox_env }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3.0.0 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-python@v3.1.0 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: pip install tox tox-gh-actions | |
- if: ${{ matrix.tox_env }} | |
run: python -m tox -e ${{ matrix.tox_env }} | |
- if: ${{ !matrix.tox_env }} | |
run: python -m tox | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3.0.0 |