Skip to content

Configure loggers for function #395

Configure loggers for function

Configure loggers for function #395

Workflow file for this run

name: Proxy verify process
on:
pull_request:
jobs:
verify-proxy:
name: lint, test
runs-on: ubuntu-latest
strategy:
fail-fast: false # keep running if one leg fails
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
defaults:
run:
working-directory: ./proxy
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Set up tox environment
run: |
pver=${{ matrix.python-version }}
tox_env="-epy${pver/./}"
echo tox_env
echo TOX_ENV=$tox_env >> $GITHUB_ENV
- name: Install tox
run: |
pip install tox
- name: Run styles check
run: tox -elint
- name: Test using tox environment
run: |
tox ${{ env.TOX_ENV }}