Bump certifi from 2024.2.2 to 2024.7.4 in /admin (#71) #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Portr admin | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "admin/**" | |
pull_request: | |
branches: ["main"] | |
paths: | |
- "admin/**" | |
permissions: | |
contents: read | |
env: | |
PORTR_DOMAIN: localhost:8000 | |
PORTR_ADMIN_GITHUB_CLIENT_ID: "" | |
PORTR_ADMIN_GITHUB_CLIENT_SECRET: "" | |
PORTR_SERVER_URL: localhost:8000 | |
PORTR_SSH_URL: localhost:2222 | |
PORTR_ADMIN_USE_VITE: true | |
PORTR_ADMIN_ENCRYPTION_KEY: "mj-qoeMhLQp_cHnMU9nsLfCMnNkZ6XBcFefy4VxzOe8=" | |
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 |