Initial commit

This commit is contained in:
2026-04-15 10:48:27 -04:00
commit 79b1babcd0
47 changed files with 62913 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: CLA Listener
on:
issue_comment:
types: [created]
permissions:
issues: write
pull-requests: write
jobs:
call-central-bot:
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }}
uses: scienting/cla/.github/workflows/cla-sign.yml@main
secrets:
CLA_BOT_PAT: ${{ secrets.CLA_BOT_PAT }}
+12
View File
@@ -0,0 +1,12 @@
name: CLA Status Check
on:
pull_request_target:
types: [opened, synchronize, reopened]
permissions:
pull-requests: write
jobs:
verify-cla:
uses: scienting/cla/.github/workflows/cla-verify.yml@main
+51
View File
@@ -0,0 +1,51 @@
name: Codecov
on:
push:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'tests/**'
- 'pixi.toml'
- 'pixi.lock'
pull_request:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'tests/**'
- 'pixi.toml'
- 'pixi.lock'
workflow_dispatch:
jobs:
run:
name: codecov
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
lfs: true
- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
environments: dev
locked: false
frozen: false
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
activate-environment: true
- name: Get test coverage
run: pixi run tests
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
+66
View File
@@ -0,0 +1,66 @@
name: Documentation
on:
push:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'docs/**'
- 'pixi.toml'
- 'pixi.lock'
pull_request:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'docs/**'
- 'pixi.toml'
- 'pixi.lock'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
name: docs
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
environments: docs
locked: false
frozen: false
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
activate-environment: true
- name: Build documentation
run: pixi run docs
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: 'public/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
+39
View File
@@ -0,0 +1,39 @@
name: Tests
on:
push:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'tests/**'
- 'pixi.toml'
- 'pixi.lock'
pull_request:
branches: [ "main" ]
paths:
- 'pcdigitizer/**'
- 'tests/**'
- 'pixi.toml'
- 'pixi.lock'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Install pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
environments: dev
locked: false
frozen: false
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
activate-environment: true
- name: Run tests
run: pixi run tests