diff --git a/.github/workflows/live-tests.yml b/.github/workflows/live-tests.yml index ae2b9b5..90ecad2 100644 --- a/.github/workflows/live-tests.yml +++ b/.github/workflows/live-tests.yml @@ -1,6 +1,8 @@ on: workflow_call: - + secrets: + NODE_AUTH_TOKEN: + required: true jobs: unit-and-integration-tests: diff --git a/.github/workflows/plugin-tests.yml b/.github/workflows/plugin-tests.yml index d548a4e..09b6273 100644 --- a/.github/workflows/plugin-tests.yml +++ b/.github/workflows/plugin-tests.yml @@ -62,6 +62,8 @@ jobs: reporter: java-junit fail-on-error: true call-live-workflow: + needs: [integration-tests] uses: ./.github/workflows/live-tests.yml + secrets: inherit diff --git a/plugin/src/test/java/wand555/github/io/challenges/integration/IntegrationTestSetupExtension.java b/plugin/src/test/java/wand555/github/io/challenges/integration/IntegrationTestSetupExtension.java index 17f54fb..983f962 100644 --- a/plugin/src/test/java/wand555/github/io/challenges/integration/IntegrationTestSetupExtension.java +++ b/plugin/src/test/java/wand555/github/io/challenges/integration/IntegrationTestSetupExtension.java @@ -12,7 +12,7 @@ public void beforeAll(ExtensionContext extensionContext) throws Exception { Assertions.fail("Stage variable not set to 'testing' when running the test suite. Aborting!"); } DynamoDBHelper.clearDynamoDBTestingTable(); - // A comment 5 + // A comment 6 // TODO: clear s3 DynamoDBHelper.setUpEmptyDynamoDBTestingTable();