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

Remove integration test setup code and script #5322

Merged
merged 1 commit into from
Aug 16, 2024
Merged
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
17 changes: 1 addition & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -435,21 +435,6 @@ jobs:
scripts/sns/aggregator/test-fast
- name: Stop replica
run: dfx stop
integration:
name: "Integration tests"
needs: build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Get docker build outputs
uses: actions/download-artifact@v4
with:
name: out
path: out
- name: Install pocket-ic
run: curl -sSL https://github.com/dfinity/pocketic/releases/download/3.0.1/pocket-ic-x86_64-linux.gz | gunzip | install -m 755 /dev/stdin pocket-ic
- name: Run integration tests
run: ./scripts/test-integration
assets:
name: "Upload assets"
needs: build
Expand Down Expand Up @@ -522,7 +507,7 @@ jobs:
) | tee -a $GITHUB_STEP_SUMMARY
(( wasm_size <= max_size )) || { echo "The WASM is too large" ; exit 1 ; }
build-pass:
needs: ["build", "test-playwright-e2e-shard-1-of-2", "test-playwright-e2e-shard-2-of-2", "test-rest", "network_independent_wasm", "aggregator_test", "assets", "test-upgrade-downgrade", "test-test-account-api", "test-upgrade-stable", "integration"]
needs: ["build", "test-playwright-e2e-shard-1-of-2", "test-playwright-e2e-shard-2-of-2", "test-rest", "network_independent_wasm", "aggregator_test", "assets", "test-upgrade-downgrade", "test-test-account-api", "test-upgrade-stable"]
if: ${{ always() }}
runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG-Nns-Dapp-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ proposal is successful, the changes it released will be moved from this file to

#### Removed

* Integration test setup code and related script and documentation.

#### Fixed

#### Security
6 changes: 0 additions & 6 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,3 @@ Tests are found in `rs/backend/src/accounts_store/tests.rs`.
```bash
$ cargo test --lib
```

### Integration tests

```bash
$ ./scripts/test-integration
```
176 changes: 0 additions & 176 deletions rs/backend/tests/migration.rs

This file was deleted.

34 changes: 0 additions & 34 deletions scripts/test-integration

This file was deleted.

Loading