-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding support for Windows testing (#3037)
Signed-off-by: Owen Rumney <[email protected]> Signed-off-by: knqyf263 <[email protected]> Co-authored-by: knqyf263 <[email protected]>
- Loading branch information
1 parent
b00f3c6
commit 5190f95
Showing
75 changed files
with
1,404 additions
and
1,414 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
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 |
---|---|---|
|
@@ -58,6 +58,7 @@ jobs: | |
suse | ||
photon | ||
distroless | ||
windows | ||
ruby | ||
php | ||
|
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 |
---|---|---|
|
@@ -9,12 +9,13 @@ on: | |
- 'mkdocs.yml' | ||
- 'LICENSE' | ||
pull_request: | ||
env: | ||
TINYGO_VERSION: "0.25.0" | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
matrix: | ||
operating-system: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -30,18 +31,20 @@ jobs: | |
echo "Run 'go mod tidy' and push it" | ||
exit 1 | ||
fi | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
- name: Lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.49 | ||
args: --deadline=30m | ||
skip-cache: true # https://github.com/golangci/golangci-lint-action/issues/244#issuecomment-1052197778 | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
- name: Install TinyGo | ||
run: | | ||
wget https://github.com/tinygo-org/tinygo/releases/download/v${TINYGO_VERSION}/tinygo_${TINYGO_VERSION}_amd64.deb | ||
sudo dpkg -i tinygo_${TINYGO_VERSION}_amd64.deb | ||
# Install tools | ||
- uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
|
||
- name: Run unit tests | ||
run: make test | ||
|
@@ -73,12 +76,13 @@ jobs: | |
with: | ||
go-version-file: go.mod | ||
|
||
- name: Install TinyGo | ||
run: | | ||
wget https://github.com/tinygo-org/tinygo/releases/download/v${TINYGO_VERSION}/tinygo_${TINYGO_VERSION}_amd64.deb | ||
sudo dpkg -i tinygo_${TINYGO_VERSION}_amd64.deb | ||
# Install tools | ||
- uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
|
||
- name: Run module integration tests | ||
shell: bash | ||
run: | | ||
make test-module-integration | ||
|
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,8 @@ | ||
--- | ||
# aqua - Declarative CLI Version Manager | ||
# https://aquaproj.github.io/ | ||
registries: | ||
- type: standard | ||
ref: v3.106.0 # renovate: depName=aquaproj/aqua-registry | ||
packages: | ||
- name: tinygo-org/[email protected] |
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.