Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit da8563b

Browse files
authored
ci: remove fail test (#398)
1 parent 590180c commit da8563b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/test-action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ jobs:
295295
- name: Test GitHub Action
296296
uses: ./
297297
with:
298-
custom_command: 'bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml --reference-into-components -o ./output/bundle/asyncapi.yaml'
298+
custom_command: 'bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml -o ./output/bundle/asyncapi.yaml'
299299
- name: Assert GitHub Action
300300
run: |
301301
echo "Listing all files"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export GITHUB_WORKSPACE = $(shell pwd)
1414
run:
1515
@bash ./entrypoint.sh $(DEFAULT_VERSION) $(DEFAULT_COMMAND) $(TEST_FILEPATH) $(DEFAULT_TEMPLATE) $(DEFAULT_LANGUAGE) $(DEFAULT_OUTPUT) $(DEFAULT_PARAMETERS) $(DEFAULT_CUSTOM_COMMANDS)
1616

17-
test: test-default test-validate-success test-validate-fail test-custom-output test-custom-commands test-optimize test-bundle test-convert test-action-bump
17+
test: test-default test-validate-success test-custom-output test-custom-commands test-optimize test-bundle test-convert test-action-bump
1818

1919
# Test cases
2020

@@ -51,7 +51,7 @@ test-optimize:
5151
@bash ./entrypoint.sh $(DEFAULT_VERSION) 'optimize' 'test/unoptimized.yml' $(DEFAULT_TEMPLATE) $(DEFAULT_LANGUAGE) $(DEFAULT_OUTPUT) '-o new-file --no-tty' $(DEFAULT_CUSTOM_COMMANDS)
5252

5353
# Tests if the action can bundle the specification with custom commands
54-
BUNDLE_COMMAND='bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml --reference-into-components -o ./output/bundle/asyncapi.yaml'
54+
BUNDLE_COMMAND='bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml -o ./output/bundle/asyncapi.yaml'
5555
test-bundle:
5656
mkdir -p ./output/bundle
5757
@bash ./entrypoint.sh $(DEFAULT_VERSION) 'bundle' 'test/bundle/asyncapi.yaml' $(DEFAULT_TEMPLATE) $(DEFAULT_LANGUAGE) $(DEFAULT_OUTPUT) '-o output/bundle/asyncapi.yaml' $(BUNDLE_COMMAND)

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
using: 'docker'
3939
# This is the image that will be used to run the action.
4040
# IMPORTANT: The version has to be changed manually in your PRs.
41-
image: 'docker://asyncapi/github-action-for-cli:3.1.1'
41+
image: 'docker://asyncapi/github-action-for-cli:3.1.2'
4242
args:
4343
- ${{ inputs.cli_version }}
4444
- ${{ inputs.command }}

bump-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ echo "Package version: $version";
1414
if [[ $action_version > $version ]]; then
1515
echo "Action version is greater than package version";
1616
else \
17-
echo "Action version has not been bumped. Please bump the action version to the semantically correct version after $$version"; \
17+
echo "Action version has not been bumped. Please bump the action version to the semantically correct version after $version"; \
1818
exit 1; \
1919
fi

test/bundle/features.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ info:
55
description: This service is in charge of processing user logouts
66
channels:
77
user/loggedOut:
8-
subcribe:
8+
subscribe:
99
message:
10-
$ref: 'test/bundle/messages.yaml#/messages/UserLoggedOut'
10+
$ref: "./test/bundle/messages.yaml#/messages/UserLoggedOut"

0 commit comments

Comments
 (0)