Skip to content

Commit 87f8b91

Browse files
committed
[CI] Pin built OpenAssetIO to mirror PyPI version
Unit tests and Jupyter notebooks use the latest release of OpenAssetIO (see `examples/resources/requirements.txt` and `pyproject.toml`). However, C++ tests, which currently must build OpenAssetIO from source, were using the latest `main`. So ensure we test against a consistent version of OpenAssetIO for both C++ and Python tests by pinning the checkout of OpenAssetIO to the latest release. Note that we cannot specify a semver range, so this will get out of date on the next release. Future CI work is required to design a more well-thought testing policy e.g. testing against supported version ranges vs. `main` and nightlies. Signed-off-by: David Feltell <[email protected]>
1 parent 66a7839 commit 87f8b91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/build_openassetio/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
2-
# Copyright 2023 The Foundry Visionmongers Ltd
2+
# Copyright 2023-2024 The Foundry Visionmongers Ltd
33

44
# Composite action for reuse within other workflows.
55
# Builds OpenAssetIO.
@@ -15,6 +15,7 @@ runs:
1515
with:
1616
repository: OpenAssetIO/OpenAssetIO
1717
path: openassetio-checkout
18+
ref: v1.0.0-rc.1.0
1819

1920
- name: Build OpenAssetIO
2021
shell: bash

0 commit comments

Comments
 (0)