Skip to content

Commit ef7b174

Browse files
committed
Workflow dispatch only [no-ci]
1 parent 463f8dc commit ef7b174

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/java-versions-verbose-tests.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
# is to tell us on which OSes and versions of Java that happens,
55
# with details.
66

7-
name: Java versions regrtest 2.7 (verbose.tests)
7+
name: Java versions regrtest 2.7 (verbose tests)
88

99
# Only run manually as we don't want to block every PR.
1010
on:
11-
push:
12-
# This is here so we can test the jobs on push
13-
branches:
14-
- 'test-java-17-25-short'
1511
workflow_dispatch:
12+
# So we may run on demand (with a chosen file)
13+
inputs:
14+
tests_file:
15+
description: 'File containing the names of tests to run'
16+
type: string
17+
required: true
18+
default: 'verbose.tests'
1619

1720
permissions:
1821
contents: read
@@ -39,6 +42,11 @@ jobs:
3942

4043
- uses: actions/checkout@v6
4144

45+
- name: Set up Python 2.7
46+
uses: actions/setup-python@v5
47+
with:
48+
python-version: 2.7
49+
4250
- name: Set up JDK
4351
uses: actions/setup-java@v5
4452
with:
@@ -49,5 +57,5 @@ jobs:
4957
run: ant -noinput -buildfile build.xml developer-build
5058

5159
- name: Specified regression tests with Ant
52-
run: dist/bin/jython -m test.regrtest -v -f verbose.tests
60+
run: dist/bin/jython -m test.regrtest -v -f ${{ tests_file }}
5361

0 commit comments

Comments
 (0)