Skip to content

Commit fdacdf7

Browse files
Merge pull request #10 from monikakonieczna/Task-7B-Fix-Workflow
Task 7B: Correcting syntax
2 parents ee3f750 + c6573ed commit fdacdf7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/run-tests-by-group.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ jobs:
3535
run: |
3636
if [ "${{ github.event.inputs.testGroup }}" == "all" ]; then
3737
npm run test:all
38-
if [ "${{ github.event.inputs.testGroup }}" == "sanity" ]; then
38+
elif [ "${{ github.event.inputs.testGroup }}" == "sanity" ]; then
3939
npm run test:sanity
40-
if [ "${{ github.event.inputs.testGroup }}" == "single_character" ]; then
40+
elif [ "${{ github.event.inputs.testGroup }}" == "single_character" ]; then
4141
npm run test:single_character
42-
if [ "${{ github.event.inputs.testGroup }}" == "all_characters" ]; then
42+
elif [ "${{ github.event.inputs.testGroup }}" == "all_characters" ]; then
4343
npm run test:all_characters
44-
if [ "${{ github.event.inputs.testGroup }}" == "multiple_characters" ]; then
44+
elif [ "${{ github.event.inputs.testGroup }}" == "multiple_characters" ]; then
4545
npm run test:multiple_characters
46-
if [ "${{ github.event.inputs.testGroup }}" == "filter_characters" ]; then
47-
npm run test:filter_characters
46+
elif [ "${{ github.event.inputs.testGroup }}" == "filter_characters" ]; then
47+
npm run test:filter_characters
48+
fi

0 commit comments

Comments
 (0)