Skip to content

Add obj parameter for upload method #205

Add obj parameter for upload method

Add obj parameter for upload method #205

Workflow file for this run

name: FastAdmin CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
id-token: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
cache: "poetry"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: v24.3.0
cache: "yarn"
cache-dependency-path: "frontend/yarn.lock"
- name: Install Dependencies
run: make install
- name: Run Lint
run: make lint
- name: Run Tests
env:
ADMIN_USER_MODEL: User
ADMIN_USER_MODEL_USERNAME_FIELD: username
ADMIN_SECRET_KEY: secret_key
run: make test
- name: Run Build
run: make -C frontend build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
use_oidc: true
files: ./coverage.xml,./frontend/coverage/lcov.info
flags: backend,frontend
fail_ci_if_error: true
verbose: true