Run Unit & Integration tests #69
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 & Integration tests | |
on: | |
pull_request: | |
branches: | |
- develop | |
- master | |
workflow_dispatch: | |
inputs: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ^3.8.5 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pip3 install poetry | |
- name: Run poetry lock | |
run: poetry lock --no-update | |
- name: Install dependencies | |
run: poetry export --dev -f requirements.txt | pip3 install -r /dev/stdin | |
- name: Run Lint & Tests | |
run: make pre-commit |