Skip to content

Commit

Permalink
Add CI action file to test the faststream examples
Browse files Browse the repository at this point in the history
  • Loading branch information
harishmohanraj committed Oct 11, 2023
1 parent 9eee1c8 commit 4f6054a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test-faststream-examples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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

0 comments on commit 4f6054a

Please sign in to comment.