-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
180 changed files
with
6,733 additions
and
692 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -72,6 +72,25 @@ jobs: | |
path: | | ||
./build/ | ||
tidy: | ||
name: Tidy Go Modules | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: "go.mod" | ||
id: go | ||
|
||
- uses: j0hnsmith/go-mod-check@v1 | ||
with: | ||
working-directory: ${{ github.workspace }} | ||
# optional, only if you're happy to have `replace ` lines in your go.mod file | ||
skip-replace-check: true | ||
|
||
# run acceptance tests | ||
test: | ||
name: Acceptance Tests | ||
|
@@ -140,8 +159,23 @@ jobs: | |
run: | | ||
make deps | ||
# Enable this after merging test-cases | ||
# Only seems to work with remote schema files | ||
#- name: Validate YAML Schema for Test Cases | ||
# uses: InoUno/[email protected] | ||
# with: | ||
# root: "tests/test-cases" | ||
# schemaMapping: | | ||
# { | ||
# "schema.json": [ | ||
# "**/*.yaml" | ||
# ] | ||
# } | ||
|
||
- name: Acceptance tests | ||
timeout-minutes: 10 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: make testacc | ||
|
||
docker: | ||
|
@@ -352,6 +386,8 @@ jobs: | |
- name: Run tests in ${{ matrix.demo-folder }} for ${{ matrix.flavor.target }} | ||
working-directory: ${{ matrix.demo-folder }} | ||
if: matrix.flavor.target == 'linux' || matrix.flavor.target == 'macos' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
atmos test | ||
|
@@ -369,6 +405,8 @@ jobs: | |
working-directory: ${{ matrix.demo-folder }} | ||
if: matrix.flavor.target == 'windows' | ||
shell: pwsh | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
atmos test | ||
|
@@ -446,7 +484,7 @@ jobs: | |
- name: Check out code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate YAML Schema | ||
- name: Validate YAML Schema for Stacks | ||
uses: InoUno/[email protected] | ||
with: | ||
root: "examples/${{ matrix.demo-folder }}/stacks" | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"yaml.customTags": [ | ||
"!not scalar" | ||
], | ||
"[mdx]": { "editor.defaultFormatter": null, "editor.formatOnSave": false }, | ||
} |
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
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
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
Oops, something went wrong.