Skip to content

move python package to its own folder #33

move python package to its own folder

move python package to its own folder #33

Workflow file for this run

name: ci
on:
push:
branches: [main, master]
pull_request:
# If new code is pushed to a PR branch, then cancel in progress workflows for that PR. Ensures that
# we don't waste CI time
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
python:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./scrfd-python
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
uses: actions/setup-python@v5
working-directory: ./scrfd-python

Check failure on line 37 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 37, Col: 9): Unexpected value 'working-directory'
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --locked
- name: mypy
run: uv run mypy .
- name: ruff check
run: uv run ruff check
- name: ruff format
run: uv run ruff format --check
- name: pytest
run: uv run pytest