Skip to content

fix: hotfix for db connection issue #548

fix: hotfix for db connection issue

fix: hotfix for db connection issue #548

Workflow file for this run

# name: Run Tests
# on:
# pull_request:
# types: [opened, reopened, ready_for_review, synchronize]
# branches:
# - dev
# - main
# jobs:
# tests:
# if: github.event.pull_request.draft == false
# runs-on: self-hosted
# strategy:
# matrix:
# python-version: ["3.10", "3.11", "3.12"]
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - name: Setup Python
# uses: actions/setup-python@v5.1.1
# with:
# python-version: ${{ matrix.python-version }}
# - name: Create uv virtualenv
# run: |
# python -m pip install uv
# uv venv .venv
# echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV
# echo "$PWD/.venv/bin" >> $GITHUB_PATH
# - name: Install dependencies
# run: uv pip install nox pytest prisma
# - name: Generate Prisma client
# run: |
# # Add the command to generate the Prisma client here
# prisma generate
# - name: Get latest git tag
# id: get_tag
# run: |
# echo "Attempting to get the latest git tag..."
# git_tag=$(git describe --tags --abbrev=0 2>/dev/null || echo "1.0.0")
# echo "GIT_TAG=$git_tag" >> $GITHUB_ENV
# - name: Run tests using shared session
# run: nox -s tests_session --python=${{ matrix.python-version }}
# env:
# GIT_TAG: ${{ env.GIT_TAG }}
# DOJO_API_BASE_URL: http://example.com