Skip to content

Add CI action file to test the faststream examples #1

Add CI action file to test the faststream examples

Add CI action file to test the faststream examples #1

name: Test faststream gen examples
on: [workflow_dispatch, pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Dependencies and library
shell: bash
run: |
set -ux
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run pytest
shell: bash
run: pytest