Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Use shared actions (#309)
Browse files Browse the repository at this point in the history
This PR updates the workflows to use the shared `install-testmo` and
`set-python` actions (and deletes the local versions). At the time of
this writing:
* All four build steps have passed (which use `set-python`)
* One of the four test scripts is underway and looks normal (which used
`install-testmo` at the beginning of the run)
  • Loading branch information
dbarbuzzi authored and derekk-nm committed Jun 24, 2024
1 parent 6c3382e commit dc36452
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 47 deletions.
17 changes: 0 additions & 17 deletions .github/actions/nm-install-testmo/action.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/actions/nm-set-python/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:

- name: set python
id: set_python
uses: ./.github/actions/nm-set-python/
uses: neuralmagic/nm-actions/actions/set-python@main
with:
python: ${{ inputs.python }}
venv: ${{ env.VENV_BASE }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
nvcc_threads: 0

- name: install testmo
uses: ./.github/actions/nm-install-testmo/
uses: neuralmagic/nm-actions/actions/install-testmo@main

- name: create testmo run
id: create_testmo_run
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
- name: run buildkite script
run: |
cd tests && sudo bash ../.buildkite/download-images.sh
- name: setenv test skip
id: setenv_test_skip
uses: ./.github/actions/nm-set-env-test-skip
Expand Down

0 comments on commit dc36452

Please sign in to comment.