Skip to content

Remove team members section from README #303

Remove team members section from README

Remove team members section from README #303

Workflow file for this run

name: Run Backend Tests
on:
pull_request:
paths:
- "backend/**"
- ".github/workflows/backend-test.yml"
push:
branches: [main]
jobs:
backend-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ocsl_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: "backend/pyproject.toml"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e backend/
- name: Run pytest
run: |
cd /home/runner/work/party-registration/party-registration
PYTHONPATH=backend:backend/src pytest backend/test -v --tb=long --junitxml=backend/test-results/junit.xml
env:
GOOGLE_MAPS_API_KEY: "test_api_key_not_used"
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_DB: ocsl_test
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: backend/test-results/junit.xml
check_name: Test Results
comment_title: Test Results Summary
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: pytest-results
path: |
backend/test-results/
backend/.pytest_cache/
retention-days: 7