-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2247 from fermyon/move-over
Move wasi-http integration tests over to new testing framework
- Loading branch information
Showing
35 changed files
with
1,828 additions
and
2,254 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ jobs: | |
if: failure() | ||
uses: andymckay/[email protected] | ||
|
||
## This is separated out to remove e2e-tests dependency on windows/mac builds | ||
## This is separated out to remove full integration tests dependencies on windows/mac builds | ||
build-rust-ubuntu: | ||
name: Build Spin Ubuntu | ||
runs-on: ubuntu-latest | ||
|
@@ -157,11 +157,15 @@ jobs: | |
rust-cache: true | ||
nomad: true | ||
|
||
- name: Cargo Unit and Integration Tests | ||
- name: Run Unit Tests | ||
run: | | ||
make test-unit test-integration | ||
env: | ||
CARGO_INCREMENTAL: 0 | ||
make test-unit | ||
- name: Run Integration Tests | ||
run: | | ||
make test-integration | ||
# Only run integration tests on macOS as they will be run on ubuntu separately | ||
if: ${{ matrix.runner == 'macos-latest' }} | ||
|
||
test-go: | ||
name: Test Spin SDK - Go | ||
|
@@ -193,7 +197,7 @@ jobs: | |
- name: "Test Go SDK" | ||
run: make test-sdk-go | ||
|
||
e2e-tests: | ||
all-integration-tests: | ||
# run on a larger runner for more SSD/resource access | ||
runs-on: ubuntu-22.04-4core-spin | ||
if: ${{ github.repository_owner == 'fermyon' }} | ||
|
@@ -225,6 +229,6 @@ jobs: | |
mv grain-linux-x64 grain | ||
echo "$PWD" >> $GITHUB_PATH | ||
- name: Run e2e tests | ||
- name: Run Full Integration Tests | ||
run: | | ||
make test-spin-up | ||
make test-integration-full |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ test = false | |
[dependencies] | ||
heck = "0.4.0" | ||
quote = "1.0.32" | ||
syn = "2.0" |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.