Skip to content

Merge pull request #301 from cardanoapi/fix/backend-health-check #562

Merge pull request #301 from cardanoapi/fix/backend-health-check

Merge pull request #301 from cardanoapi/fix/backend-health-check #562

Workflow file for this run

name: Backend Service Testing ( Pytest )
on:
push:
branches: ["master", "dev"]
pull_request:
branches: ["dev"]
jobs:
run_backend_tests:
runs-on: ubuntu-latest
steps:
- name: Enable Access for Branch for Workflow
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.12.2
- name: Install Poetry
working-directory: api
run: pip install poetry==1.8.2
- name: Install Dependencies
working-directory: api
run: |
poetry install
poetry run prisma generate
- name: Run test cases
working-directory: api
env:
DATABASE_URL: ""
run: poetry run pytest -m github_actions