Merge pull request #73 from AutomatedProcessImprovement/batching_stats #154
This file contains hidden or 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: Build & Test | |
on: | |
push: | |
branches: [main, ci_setup] | |
pull_request: | |
branches: [main, ci_setup] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Install poetry | |
run: | | |
python -m pip install poetry==1.4.2 | |
- name: Configure poetry (for saving venv inside of the project) | |
run: | | |
python -m poetry config virtualenvs.in-project true | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Run tests | |
run: | | |
poetry run pytest |