forked from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit. Create base flow for integration tests with data caterer
- Loading branch information
Showing
19 changed files
with
5,889 additions
and
139 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Repository CODEOWNERS | ||
|
||
* @actions/actions-oss-maintainers | ||
* @data-catering |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,35 @@ | ||
name: 'The name of your action here' | ||
description: 'Provide a description here' | ||
author: 'Your name or organization here' | ||
name: 'Data Caterer data flow testing' | ||
description: 'Run integration tests for your application or job' | ||
author: 'Data Catering' | ||
|
||
# Define your inputs here. | ||
inputs: | ||
milliseconds: | ||
description: 'Your input description here' | ||
required: true | ||
default: '1000' | ||
configuration-file: | ||
description: 'File path to Data Caterer configuration file' | ||
default: 'data-caterer.yaml' | ||
insta-infra-folder: | ||
description: 'Folder to insta-infra' | ||
default: 'data-caterer-integration-test/insta-infra' | ||
|
||
# Define your outputs here. | ||
outputs: | ||
time: | ||
description: 'Your output description here' | ||
results: | ||
description: 'Result of integration tests' | ||
|
||
runs: | ||
using: node20 | ||
main: dist/index.js | ||
using: 'composite' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Checkout insta-infra repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: data-catering/insta-infra | ||
path: data-caterer-integration-test/insta-infra | ||
- name: Run integration tests | ||
uses: actions/github-script@v7 | ||
with: | ||
configuration-file: ${{ inputs.configuration-file }} | ||
insta-infra-folder: ${{ inputs.insta-infra-folder }} | ||
script: | | ||
const script = require("${{github.action_path}}/dist/index.js") | ||
script({core}) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.