Skip to content

Commit

Permalink
drop! Retarget CI to OpenAssetIO PR
Browse files Browse the repository at this point in the history
  • Loading branch information
feltech committed Aug 10, 2023
1 parent a86055f commit a1d23d0
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,22 @@ jobs:
with:
python-version: "3.9"

- name: Download wheels from commit OpenAssetIO feature branch
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-wheels.yml
workflow_conclusion: success
name: openassetio-wheels
repo: OpenAssetIO/OpenAssetIO
path: deps

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel
python -m pip install -r requirements.txt
# Use wheels from feature branch for intermediate testing
python -m pip install ./deps/openassetio-*cp39*-manylinux_*_x86_64.whl
# python -m pip install -r requirements.txt
- name: Build wheels
run: pip wheel --no-deps --wheel-dir wheelhouse .
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,20 @@ jobs:
with:
python-version: 3.9

- name: Download wheels from commit OpenAssetIO feature branch
uses: dawidd6/action-download-artifact@v2
with:
workflow: build-wheels.yml
workflow_conclusion: success
name: openassetio-wheels
repo: OpenAssetIO/OpenAssetIO
path: deps

- name: Install dependencies
run: |
python -m pip install -r requirements.txt
# Use wheels from feature branch for intermediate testing
python -m pip install ./deps/openassetio-*cp39*-manylinux_*_x86_64.whl
# python -m pip install -r requirements.txt
python -m pip install -r tests/requirements.txt
python -m pip install .
Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,31 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['windows-latest', 'ubuntu-latest', 'macos-latest']
python: ['3.7', '3.9', '3.10', '3.11']
# 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: |
python -m pip install -r requirements.txt
# 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

0 comments on commit a1d23d0

Please sign in to comment.