Skip to content

Commit

Permalink
Remove ruby e2e tests (#5009)
Browse files Browse the repository at this point in the history
- [x] Delete ruby e2e tests
- [x] Use buildkite-agent to download the testing bundle (not to rely on
the ruby code)

### Comments

Per
#4980 (comment)
this should be fine.

### Issue Number

#4980
  • Loading branch information
Anviking authored Mar 4, 2025
2 parents c448d87 + e409fa2 commit c6ce43f
Show file tree
Hide file tree
Showing 65 changed files with 18 additions and 12,891 deletions.
30 changes: 18 additions & 12 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,10 @@ steps:
key: windows-testing-bundle
depends_on:
- trigger-build-windows-artifacts
command: nix build -L -o result/windows-tests .#ci.artifacts.win64.tests
artifact_paths: [ "./result/windows-tests/**" ]
command: |
nix build -L -o result .#ci.artifacts.win64.tests
cp result/cardano-wallet-*-tests-win64.zip ./windows-tests.zip
artifact_paths: [ "./windows-tests.zip"]
agents:
system: ${linux}

Expand All @@ -546,11 +548,12 @@ steps:
if: build.env("RELEASE_CANDIDATE") == null || build.env("TEST_RC") == "FALSE"
steps:
- label: Windows Unit Tests
command: |
cd test\e2e
bundle exec rake get_latest_windows_tests[%BUILDKITE_BRANCH%,cardano-wallet-tests-win64,any,latest]
cd cardano-wallet-tests-win64
.\cardano-wallet-unit-test-unit.exe --color --jobs 1 --skip /Cardano.Wallet.DB.Sqlite/ +RTS -M2G -N2
commands:
- buildkite-agent artifact download "windows-tests.zip" .
- mkdir -p windows\tests
- tar -xf windows-tests.zip -C windows\tests
- cd windows\tests # tests seem to rely on ..\.. being the repo root
- .\cardano-wallet-unit-test-unit.exe --color --jobs 1 --skip /Cardano.Wallet.DB.Sqlite/ +RTS -M2G -N2
agents:
system: ${windows}
env:
Expand All @@ -560,10 +563,10 @@ steps:

- label: Windows Text Class Tests
command: |
cd test\e2e
bundle exec rake get_latest_windows_tests[%BUILDKITE_BRANCH%,cardano-wallet-tests-win64,any,latest]
cd cardano-wallet-tests-win64
.\text-class-test-unit.exe --color
buildkite-agent artifact download "windows-tests.zip" .
mkdir windows-tests
tar -xf windows-tests.zip -C windows-tests
.\windows-tests\text-class-test-unit.exe --color
agents:
system: ${windows}
concurrency: 1
Expand All @@ -580,7 +583,10 @@ steps:
- trigger-windows-e2e-tests
commands:
- diff -r configs/cardano/preprod lib/integration/configs/cardano/preprod # ensure the configs don't diverge despite being duplicated
- ./scripts/buildkite/main/windows-e2e.bat
- buildkite-agent artifact download "windows-tests.zip" .
- mkdir windows-tests
- tar -xf windows-tests.zip -C windows-tests
- .\windows-tests\cardano-wallet-integration-test-e2e.exe
agents:
system: ${windows}
env:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/rubocop.yml

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/buildkite/main/windows-e2e.bat

This file was deleted.

17 changes: 0 additions & 17 deletions test/e2e/.envrc

This file was deleted.

9 changes: 0 additions & 9 deletions test/e2e/.gitattributes

This file was deleted.

26 changes: 0 additions & 26 deletions test/e2e/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions test/e2e/.rake_tasks~

This file was deleted.

3 changes: 0 additions & 3 deletions test/e2e/.rspec

This file was deleted.

44 changes: 0 additions & 44 deletions test/e2e/.rubocop.yml

This file was deleted.

1 change: 0 additions & 1 deletion test/e2e/.ruby-version

This file was deleted.

12 changes: 0 additions & 12 deletions test/e2e/Gemfile

This file was deleted.

58 changes: 0 additions & 58 deletions test/e2e/Gemfile.lock

This file was deleted.

Loading

0 comments on commit c6ce43f

Please sign in to comment.