1 Commits

Author SHA1 Message Date
52f293c625 fix: update repo with copier-v1-2-2
All checks were successful
CI for detector_group_bec / test (push) Successful in 33s
CI for detector_group_bec / test (pull_request) Successful in 34s
2025-09-11 18:01:17 +02:00
4 changed files with 19 additions and 19 deletions

View File

@@ -2,7 +2,7 @@
# It is needed to track the repo template version, and editing may break things.
# This file will be overwritten by copier on template updates.
_commit: v1.2.8
_commit: v1.2.2
_src_path: https://github.com/bec-project/plugin_copier_template.git
make_commit: false
project_name: detector_group_bec

View File

@@ -28,7 +28,7 @@ on:
description: "Python version to use"
required: false
type: string
default: "3.12"
default: "3.11"
permissions:
pull-requests: write
@@ -44,19 +44,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "${{ inputs.PYTHON_VERSION || '3.12' }}"
- name: Checkout BEC Plugin Repository
uses: actions/checkout@v4
with:
repository: bec/detector_group_bec
ref: "${{ inputs.BEC_PLUGIN_REPO_BRANCH || github.head_ref || github.sha }}"
path: ./detector_group_bec
- name: Lint for merge conflicts from template updates
shell: bash
# Find all Copier conflicts except this line
run: '! grep -r "<<<<<<< before updating" | grep -v "grep -r \"<<<<<<< before updating"'
python-version: "${{ inputs.PYTHON_VERSION || '3.11' }}"
- name: Checkout BEC Core
uses: actions/checkout@v4
@@ -79,6 +67,13 @@ jobs:
ref: "${{ inputs.BEC_WIDGETS_BRANCH || 'main' }}"
path: ./bec_widgets
- name: Checkout BEC Plugin Repository
uses: actions/checkout@v4
with:
repository: bec/detector_group_bec
ref: "${{ inputs.BEC_PLUGIN_REPO_BRANCH || github.head_ref || github.sha }}"
path: ./detector_group_bec
- name: Install dependencies
shell: bash
run: |

7
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,7 @@
include:
- file: /templates/plugin-repo-template.yml
inputs:
name: detector_group_bec
target: detector_group_bec
branch: $CHILD_PIPELINE_BRANCH
project: bec/awi_utils

View File

@@ -6,15 +6,13 @@ build-backend = "hatchling.build"
name = "detector_group_bec"
version = "0.0.0"
description = "A plugin repository for BEC"
requires-python = ">=3.11"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
]
dependencies = [
"slsdet~=9.0",
]
dependencies = []
[project.optional-dependencies]
dev = [