mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-01-20 00:58:20 +08:00
30 lines
648 B
YAML
30 lines
648 B
YAML
name: 'test-windows'
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test-default-version:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Should not be on path
|
|
run: |
|
|
if (!(Get-Command -Name "uv" -ErrorAction SilentlyContinue)) {
|
|
exit 0
|
|
} else {
|
|
exit 1
|
|
}
|
|
- name: Setup uv
|
|
uses: ./
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: uv sync
|
|
working-directory: __tests__\fixtures\uv-project
|