Skip to content

many changes

many changes #29

Workflow file for this run

name: Portr admin
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
env:
DOMAIN: localhost:8000
GITHUB_APP_CLIENT_ID: ""
GITHUB_APP_CLIENT_SECRET: ""
GITHUB_WEBHOOK_SECRET: ""
SERVER_URL: localhost:8000
SSH_URL: localhost:2222
USE_VITE: true
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./admin
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
cache: "pip"
cache-dependency-path: admin/requirements*.lock
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sed '/-e/d' requirements.lock > requirements.txt && python -m pip install -r requirements.txt
sed '/-e/d' requirements-dev.lock > requirements-dev.txt && python -m pip install -r requirements-dev.txt
- name: Run tests
run: |
pytest