updated app port to 8081 for avoiding collision with frontend-cypress #32
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 Tests | |
on: | |
push: | |
branches: [main, staging, dev] | |
pull_request: | |
branches: [main, staging, dev] | |
jobs: | |
test: | |
name: 📊 PyTest | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Install poetry | |
run: pipx install poetry | |
- name: 🐍 Set up Python | |
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c | |
with: | |
python-version: 3.12 | |
cache: "poetry" | |
- name: Install dependencies | |
run: poetry install --no-root | |
- name: 📊 Run tests | |
run: poetry run pytest |