improved benchmark #10
Workflow file for this run
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: Run Unit and Integration Tests with pytest | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
# Set up Python | |
- name: Set up Python 3.12.3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12.3' | |
# Install dependencies | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
# Run tests in unit_tests directory | |
- name: Run tests in unit_tests | |
run: | | |
cd unit_tests | |
pytest --disable-warnings -q | |
# Run tests in integration_tests directory | |
- name: Run tests in integration_tests | |
run: | | |
cd integration_tests | |
pytest --disable-warnings -q |