Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: ${{ github.ref_type != 'tag' && github.event_name != 'workflow_dispatch' }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
Expand All @@ -58,7 +59,17 @@ jobs:
repository: OrchardLinux/cli
run-id: ${{ inputs.cli_run_id }}
github-token: ${{ github.token }}
- run: bash ci/dependencies --wheels-only
# Releases test the published wheel pair they ship with. Pushes and pull requests test
# the hardware and cli commits this branch pins, which may be newer than any release.
- name: Install the published wheel pair
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
run: bash ci/dependencies --wheels-only
- name: Install the pinned hardware and cli submodules
if: github.ref_type != 'tag' && github.event_name != 'workflow_dispatch'
run: |
python -m venv .venv
.venv/bin/python -m pip install ./hardware ./cli
.venv/bin/python -m pip check
- run: .venv/bin/python -m unittest discover -s tests -v
pongo:
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
Expand Down
Loading