Update test.yaml

particl
This commit is contained in:
julian-CStack 2022-12-12 14:52:17 -06:00 committed by GitHub
parent 9875edd804
commit d9069c568b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,12 @@ jobs:
$secretFileNamecoinHash = Get-FileHash $secretFileNamecoin;
Write-Output "Secret file $secretFileNamecoin has hash $($secretFileNamecoinHash.Hash)";
$secretFileParticl = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "test/services/coins/particl/particl_wallet_test_parameters.dart";
$encodedBytes = [System.Convert]::FromBase64String($env:PARTICL_TEST);
Set-Content $secretFileParticl -Value $encodedBytes -AsByteStream;
$secretFileParticlHash = Get-FileHash $secretFileParticl;
Write-Output "Secret file $secretFileParticl has hash $($secretFileParticlHash.Hash)";
shell: pwsh
env:
CHANGE_NOW: ${{ secrets.CHANGE_NOW }}
@ -91,6 +97,7 @@ jobs:
FIRO_TEST: ${{ secrets.FIRO_TEST }}
BITCOINCASH_TEST: ${{ secrets.BITCOINCASH_TEST }}
NAMECOIN_TEST: ${{ secrets.NAMECOIN_TEST }}
PARTICL_TEST: ${{ secrets.PARTICL_TEST }}
# - name: Analyze
# run: flutter analyze
- name: Test
@ -109,6 +116,7 @@ jobs:
$secretFileFiro = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "test/services/coins/firo/firo_wallet_test_parameters.dart";
$secretFileBitcoinCash = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "test/services/coins/bitcoincash/bitcoincash_wallet_test_parameters.dart";
$secretFileNamecoin = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "test/services/coins/namecoin/namecoin_wallet_test_parameters.dart";
$secretFileParticl = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "test/services/coins/particl/particl_wallet_test_parameters.dart";
Remove-Item -Path $secretFileExchange;
Remove-Item -Path $secretFileBitcoin;
@ -116,5 +124,6 @@ jobs:
Remove-Item -Path $secretFileFiro;
Remove-Item -Path $secretFileBitcoinCash;
Remove-Item -Path $secretFileNamecoin;
Remove-Item -Path $secretFileParticl;
shell: pwsh
if: always()