Convert routing cookbook to an actual aiconfig.json (#1492) #617
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: Python Tests | |
# Triggers the workflow on push on main. This is the same as pr_python.yml but does not run on every PR. | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: "0" | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Build and Install Library into Package | |
run: | | |
pip install build && cd python && python -m build && pip install dist/*.whl | |
- name: Install Test dependencies | |
run: | | |
cd python && pip install -r requirements-dev.txt | |
- name: Run tests | |
run: | | |
cd python && pytest |