Skip to content

Commit 4823ac8

Browse files
CI for Windows
1 parent b8b5889 commit 4823ac8

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci-windows.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: ci-windows
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
workflow_dispatch: {}
12+
13+
concurrency:
14+
group: ci-windows-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
test:
19+
runs-on: windows-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- uses: actions/setup-java@v4
24+
with:
25+
distribution: temurin
26+
java-version: 21
27+
28+
- uses: gradle/actions/setup-gradle@v4
29+
30+
- name: Test file URI handling on Windows
31+
shell: bash
32+
run: >
33+
./gradlew :rewrite-maven:test
34+
--tests 'org.openrewrite.maven.internal.MavenPomDownloaderTest$WithNativeHttpURLConnectionAndTLS.deriveMetaDataFromFileRepository'
35+
--tests 'org.openrewrite.maven.internal.MavenPomDownloaderTest$WithNativeHttpURLConnectionAndTLS.downloadMetadataFromFileRepoWithNonAsciiPath'
36+
--tests 'org.openrewrite.maven.utilities.MavenArtifactDownloaderTest.downloadArtifactFromFileRepository'

0 commit comments

Comments
 (0)