17 Commits

Author SHA1 Message Date
cea3f32322 wip - test failed pipeline
Some checks failed
CI Beamline / test (pull_request) Failing after 5s
CI Beamline / test (push) Failing after 29s
2025-06-16 09:40:38 +02:00
0615024342 wip
Some checks failed
CI Beamline / test (pull_request) Failing after 4s
CI Beamline / test (push) Successful in 32s
2025-06-13 19:06:13 +02:00
3d5dcf3291 wip
Some checks failed
CI Beamline / test (push) Failing after 32s
CI Beamline / test (pull_request) Successful in 32s
2025-06-13 18:49:16 +02:00
7ff54bf790 wip
Some checks failed
CI Beamline / test (push) Failing after 2s
CI Beamline / test (pull_request) Failing after 2s
2025-06-13 18:48:26 +02:00
cea2759b22 wip - absolute url
Some checks failed
CI Beamline / test (pull_request) Failing after 32s
CI Beamline / test (push) Failing after 34s
2025-06-12 13:43:14 +02:00
def0eb54ae wip
Some checks failed
CI Beamline / test (push) Failing after 38s
CI Beamline / test (pull_request) Failing after 33s
2025-06-06 13:13:28 +02:00
1366b73b72 wip
Some checks failed
CI Beamline Plugin / test (pull_request) Failing after 34s
CI Beamline Plugin / test (push) Failing after 37s
2025-06-06 13:09:55 +02:00
8306232f7a wip
Some checks failed
CI Beamline / test (push) Failing after 30s
CI Beamline / test (pull_request) Failing after 36s
2025-06-06 13:05:33 +02:00
8856c2fa36 wip
Some checks failed
CI Beamline Plugin / test (pull_request) Failing after 40s
CI Beamline Plugin / test (push) Failing after 42s
2025-06-06 11:18:39 +02:00
3f4a87448a wip
Some checks failed
CI / test (push) Failing after 31s
CI / test (pull_request) Failing after 40s
2025-06-06 11:12:09 +02:00
d4fe550156 wip
Some checks failed
CI / test (pull_request) Failing after 2s
CI / test (push) Failing after 2s
2025-06-06 11:09:52 +02:00
812e960892 wip
All checks were successful
CI / test (push) Successful in 3s
CI / test (pull_request) Successful in 3s
2025-06-06 11:08:37 +02:00
5567c6724d wip
Some checks failed
CI / test (pull_request) Failing after 34s
CI / test (push) Failing after 36s
2025-06-06 11:07:32 +02:00
a9a026d070 wip
Some checks failed
CI / test (pull_request) Failing after 28s
CI / test (push) Failing after 35s
2025-06-06 11:02:58 +02:00
c76846d802 wip
Some checks failed
CI / test (push) Failing after 35s
CI / test (pull_request) Failing after 35s
2025-06-06 11:01:00 +02:00
02fb875acb wip
Some checks failed
CI / test (pull_request) Failing after 35s
CI / test (push) Failing after 41s
2025-06-06 10:55:46 +02:00
8b23eaa295 wip 2025-06-06 10:53:28 +02:00
2 changed files with 49 additions and 1 deletions

48
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,48 @@
name: CI Beamline
on:
push:
pull_request:
workflow_dispatch:
inputs:
BEC_WIDGETS_BRANCH:
description: "Branch of BEC Widgets to install"
required: false
type: string
BEC_CORE_BRANCH:
description: "Branch of BEC Core to install"
required: false
type: string
OPHYD_DEVICES_BRANCH:
description: "Branch of Ophyd Devices to install"
required: false
type: string
permissions:
pull-requests: write
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
env:
QTWEBENGINE_DISABLE_SANDBOX: 1
QT_QPA_PLATFORM: "offscreen"
steps:
- name: Checkout Shared Actions Repo
uses: actions/checkout@v4
with:
repository: bec/bec_shared_actions
ref: main
- name: Install and test a BEC plugin repository
uses: https://gitea.psi.ch/bec/bec_shared_actions/.gitea/plugin_repo_tests@main
with:
BEC_CORE_BRANCH: ${{ inputs.BEC_CORE_BRANCH || 'main' }}
BEC_WIDGETS_BRANCH: ${{ inputs.BEC_WIDGETS_BRANCH || 'main' }}
OPHYD_DEVICES_BRANCH: ${{ inputs.OPHYD_DEVICES_BRANCH || 'main' }}
BEC_PLUGIN_REPO_URL: "https://gitea.psi.ch/bec/phoenix_bec.git"
BEC_PLUGIN_REPO_BRANCH: ${{ gitea.ref_name || 'main' }}
PYTHON_VERSION: "3.11"

View File

@ -16,7 +16,7 @@ def mock_trigger():
name = "phoenix_trigger"
prefix = "X07MB-OP2:"
dm = DMMock()
with mock.patch.object(dm, "connector"):
with mock.patch.object(dm, "connecto"):
with (
mock.patch(
"ophyd_devices.interfaces.base_classes.bec_device_base.FileWriter"