Skip to content

fix: apply api middleware correctly #280

fix: apply api middleware correctly

fix: apply api middleware correctly #280

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0 # needed to retrieve most recent tag
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: make install
- name: Check generated sources
run: |
make grpc-client
git add .
git diff --cached --quiet
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}