Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(integration tests): remove non-e2e int tests, including supergraph-demo #2255

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 3 additions & 50 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ executors:
XTASK_TARGET: "x86_64-pc-windows-msvc"
LATEST_FED_VERSION_JSON_KEY: "latest-2"

# This is only used to run supergraph-demo since you can't run Docker from Docker
amd_ubuntu: &amd_ubuntu_executor
machine:
image: ubuntu-2004:2024.05.1
Expand Down Expand Up @@ -165,27 +164,6 @@ workflows:
platform: [amd_manylinux, amd_musl, arm_macos, amd_windows]
rust_channel: [stable]
command: [test]

- xtask:
name: Run studio integration tests in GitHub Actions (amd_macos)
context:
- github-orb
matrix:
parameters:
platform: [amd_ubuntu]
rust_channel: [stable]
command: [github-actions]
options:
- |
--workflow-name 'tests-mac-x86.yml' --git-ref "<< pipeline.git.branch >>" --commit-id "<< pipeline.git.revision >>"

- xtask:
name: Run supergraph-demo tests (<< matrix.rust_channel >> rust on << matrix.platform >>)
matrix:
parameters:
platform: [amd_ubuntu]
rust_channel: [stable]
command: [integration-test]
- install_js:
name: Test installation for Javascript Package Managers (<< matrix.package_manager >> on << matrix.platform >>)
matrix:
Expand All @@ -208,29 +186,6 @@ workflows:
command: [test]
<<: *run_release

- xtask:
name: Run supergraph-demo tests (<< matrix.rust_channel >> rust on << matrix.platform >>)
matrix:
parameters:
platform: [amd_ubuntu]
rust_channel: [stable]
command: [integration-test]
<<: *run_release

- xtask:
name: Run studio integration tests in GitHub Actions for release (amd_macos)
context:
- github-orb
matrix:
parameters:
platform: [ amd_ubuntu ]
rust_channel: [ stable ]
command: [ github-actions ]
options:
- |
--workflow-name 'tests-mac-x86.yml' --git-ref "<< pipeline.git.tag >>" --commit-id "<< pipeline.git.revision >>"
<<: *run_release

- install_js:
name: Test installation for Javascript Package Managers (<< matrix.package_manager >> on << matrix.platform >>)
matrix:
Expand Down Expand Up @@ -259,8 +214,6 @@ workflows:
- "Run cargo tests + studio integration tests (stable rust on amd_musl)"
- "Run cargo tests + studio integration tests (stable rust on arm_macos)"
- "Run cargo tests + studio integration tests (stable rust on amd_windows)"
- "Run studio integration tests in GitHub Actions for release (amd_macos)"
- "Run supergraph-demo tests (stable rust on amd_ubuntu)"
- "Test installation for Javascript Package Managers (npm on nix)"
- "Test installation for Javascript Package Managers (npm_global on nix)"
- "Test installation for Javascript Package Managers (pnpm on nix)"
Expand Down Expand Up @@ -333,7 +286,7 @@ jobs:
type: executor
command:
type: enum
enum: [ lint, unit-test, integration-test, test, package, security-checks, github-actions ]
enum: [ lint, unit-test, test, package, security-checks, github-actions ]
options:
type: string
default: ""
Expand Down Expand Up @@ -646,7 +599,7 @@ commands:
parameters:
command:
type: enum
enum: [lint, integration-test, unit-test, test, package, security-checks, github-actions]
enum: [lint, unit-test, test, package, security-checks, github-actions]
options:
type: string
platform:
Expand Down Expand Up @@ -808,4 +761,4 @@ commands:
steps:
- run:
name: Publish to npm (beta)
command: cd << parameters.npm_dir >> && npm publish --tag beta << parameters.options >>
command: cd << parameters.npm_dir >> && npm publish --tag beta << parameters.options >>
2 changes: 0 additions & 2 deletions examples/flyby/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions examples/flyby/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions examples/flyby/package-lock.json

This file was deleted.

28 changes: 0 additions & 28 deletions examples/flyby/package.json

This file was deleted.

40 changes: 0 additions & 40 deletions examples/flyby/rover.js

This file was deleted.

8 changes: 0 additions & 8 deletions examples/flyby/subgraphs/broken.graphql

This file was deleted.

20 changes: 0 additions & 20 deletions examples/flyby/subgraphs/locations.graphql

This file was deleted.

50 changes: 0 additions & 50 deletions examples/flyby/subgraphs/reviews.graphql

This file was deleted.

15 changes: 0 additions & 15 deletions examples/flyby/supergraphs/broken.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions examples/flyby/supergraphs/file.yaml

This file was deleted.

Loading