
Co-authored-by: chenhe <guchenhe@gmail.com> Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
27 lines
568 B
YAML
27 lines
568 B
YAML
name: Run Tool Pytest
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.10'
|
|
cache: 'pip'
|
|
cache-dependency-path: ./api/requirements.txt
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r ./api/requirements.txt
|
|
|
|
- name: Run pytest
|
|
run: pytest ./api/tests/integration_tests/tools/test_all_provider.py
|