Skip to content

Commit c9d8b12

Browse files
committed
Run tests inside container
1 parent 07008c3 commit c9d8b12

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@ jobs:
105105
uses: actions/checkout@v2
106106

107107
- name: Test
108-
run: sbt ";compile ;test"
109-
shell: cmd
108+
uses: liufengyun/actions@v2
109+
with:
110+
container: lampepfl/dotty-windows:2020-10-02
111+
command: cd C:\\dotty; sbt ";compile ;test"
110112

111113
test_bootstrapped-windows:
112114
runs-on: [self-hosted, Windows]
@@ -116,8 +118,10 @@ jobs:
116118
uses: actions/checkout@v2
117119

118120
- name: Test
119-
run: sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test"
120-
shell: cmd
121+
uses: liufengyun/actions@v2
122+
with:
123+
container: lampepfl/dotty-windows:2020-10-02
124+
command: cd C:\\dotty; sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test"
121125

122126
# - name: Scala.js Test
123127
# uses: liufengyun/actions@v1

0 commit comments

Comments
 (0)