mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-02-22 08:41:44 +00:00
add test-act
This commit is contained in:
parent
5c826204aa
commit
c0228aec10
1 changed files with 16 additions and 0 deletions
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
|
|
@ -948,6 +948,21 @@ jobs:
|
||||||
- name: Install python works
|
- name: Install python works
|
||||||
run: uv python install
|
run: uv python install
|
||||||
|
|
||||||
|
test-act:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
- name: Install act
|
||||||
|
run: gh extension install https://github.com/nektos/gh-act
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
- name: Run test-uvx with act
|
||||||
|
run: gh act -j test-uvx -P ubuntu-latest=catthehacker/ubuntu:act-latest
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
all-tests-passed:
|
all-tests-passed:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
|
|
@ -993,6 +1008,7 @@ jobs:
|
||||||
- test-cache-python-installs
|
- test-cache-python-installs
|
||||||
- test-restore-python-installs
|
- test-restore-python-installs
|
||||||
- test-python-install-dir
|
- test-python-install-dir
|
||||||
|
- test-act
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- name: All tests passed
|
- name: All tests passed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue