Skip to content

Commit 4a5e304

Browse files
committed
Run tests without creating 'dist'
Previously the <input...> tag was removed with sed to avoid hitting enter on the version number prompt. We can just skip the dist step altogether instead.
1 parent 223a6a1 commit 4a5e304

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
pull_request:
66

77
jobs:
8-
build:
9-
8+
test:
109
runs-on: ubuntu-latest
1110

1211
steps:
@@ -18,8 +17,7 @@ jobs:
1817
- name: Build with Ant
1918
working-directory: ./build
2019
run: |
21-
sed -i 's#<input .*/>##' build.xml
22-
ant clean dist
20+
ant clean build
2321
- name: Install X virtual framebuffer
2422
run: sudo apt-get install -y xvfb
2523
- name: Run tests

0 commit comments

Comments
 (0)