Skip to content

[Core] Use TraitsData in preflight #136

[Core] Use TraitsData in preflight

[Core] Use TraitsData in preflight #136

Workflow file for this run

# 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
branch: main
- 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