wip - move action to root
This commit is contained in:
@@ -90,6 +90,8 @@ runs:
|
||||
# print the current directory to verify the structure
|
||||
echo "Current directory: $(pwd)"
|
||||
echo "Available directories: $(ls _checkout_)"
|
||||
PLUGIN_REPO_NAME=$(basename "${{ inputs.BEC_PLUGIN_REPO_URL }}" .git)
|
||||
echo "Plugin repository name: $PLUGIN_REPO_NAME"
|
||||
uv pip install --system -e ./_checkout_/ophyd_devices[dev]
|
||||
uv pip install --system -e ./_checkout_/bec/bec_lib[dev]
|
||||
uv pip install --system -e ./_checkout_/bec/bec_ipython_client[dev]
|
||||
@@ -100,7 +102,7 @@ runs:
|
||||
- name: Run Pytest
|
||||
shell: bash
|
||||
run: |
|
||||
PLUGIN_REPO_NAME=$(basename "${{ inputs.BEC_PLUGIN_REPO_URL }}" .git)
|
||||
echo "Running tests for: $PLUGIN_REPO_NAME"
|
||||
cd ./_checkout_/${PLUGIN_REPO_NAME}
|
||||
# echo "::group::Running Pytest"
|
||||
pytest -v --maxfail=2 --random-order ./tests
|
||||
# echo "::endgroup::"
|
||||
Reference in New Issue
Block a user