Skip to content

DE-934 Setup test on a new site #149

DE-934 Setup test on a new site

DE-934 Setup test on a new site #149

Workflow file for this run

name: python
on:
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
setup_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install deps
run: |
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Run tests
run: pytest tests/
env:
BASIC_AUTH_USERNAME: ${{ secrets.BASIC_AUTH_USERNAME }}
BASIC_AUTH_PASSWORD: ${{ secrets.BASIC_AUTH_PASSWORD }}
SUBDOMAIN: ${{ secrets.SUBDOMAIN }}
DOMAIN: ${{ secrets.DOMAIN }}