Skip to content

feat: support custom orchestrator repo #107

feat: support custom orchestrator repo

feat: support custom orchestrator repo #107

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
GH_TOKEN: ${{ github.token }}
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev,test]
- name: Lint with ruff
run: |
ruff check src/ tests/
ruff format --check src/ tests/
- name: Test
run: |
python -m pytest --cov syncweaver
- uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}
build-status:
# https://github.com/orgs/community/discussions/4324#discussioncomment-3477871
runs-on: ubuntu-latest
needs: [build]
if: always()
steps:
- name: Check build status
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1