[Core] Use TraitsData in preflight
#137
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs pytest on the matrix of supported platforms any Python versions. | |
name: Test | |
on: | |
pull_request: | |
jobs: | |
test: | |
name: ${{ matrix.os }} ${{ matrix.python }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# Constrain to single version to simplify install from wheels | |
os: ['ubuntu-latest'] | |
python: ['3.7'] | |
# os: ['windows-latest', 'ubuntu-latest', 'macos-latest'] | |
# python: ['3.7', '3.9', '3.10'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download wheels from OpenAssetIO main | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
workflow: build-wheels.yml | |
workflow_conclusion: success | |
name: openassetio-wheels | |
repo: OpenAssetIO/OpenAssetIO | |
path: deps | |
pr: 1037 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: | | |
# Use wheels from feature branch for intermediate testing | |
python -m pip install ./deps/openassetio-*cp37*-manylinux_*_x86_64.whl | |
# python -m pip install -r requirements.txt | |
python -m pip install -r tests/requirements.txt | |
python -m pip install . | |
python -m pytest -v ./tests |