|
| 1 | +# Every night at 00:00UTC |
| 2 | +# Download the latest master branch build of windows testing bundle |
| 3 | +# and run it. |
| 4 | + |
| 5 | +name: cardano-wallet Windows Tests |
| 6 | + |
| 7 | +on: |
| 8 | + schedule: |
| 9 | + - cron: '0 0 * * *' |
| 10 | + |
| 11 | +jobs: |
| 12 | + tests: |
| 13 | + runs-on: windows-2016 |
| 14 | + name: Run tests on Windows |
| 15 | + steps: |
| 16 | + - name: Fetch Windows testing bundle |
| 17 | + shell: powershell |
| 18 | + run: | |
| 19 | + $url = "https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-tests-win64/latest/download/1" |
| 20 | + $output = "cardano-wallet-tests-win64.zip" |
| 21 | + Invoke-WebRequest -Uri $url -OutFile $output |
| 22 | + Expand-Archive -LiteralPath $output -DestinationPath . |
| 23 | + Get-ChildItem |
| 24 | + - name: 'cardano-wallet-core:unit' |
| 25 | + run: '.\\cardano-wallet-core-test-unit.exe --color' |
| 26 | + - name: 'cardano-wallet-byron:unit' |
| 27 | + run: '.\\cardano-wallet-byron-test-unit.exe --color' |
| 28 | + - name: 'cardano-wallet-byron:integration' |
| 29 | + run: '.\\cardano-wallet-byron-test-integration.exe --color' |
| 30 | + timeout-minutes: 60 |
| 31 | + - name: 'cardano-wallet-cli:unit' |
| 32 | + run: '.\\cardano-wallet-cli-test-unit.exe --color' |
| 33 | + - name: 'text-class:unit' |
| 34 | + run: '.\\text-class-test-unit.exe --color' |
| 35 | + - name: 'cardano-wallet-launcher:unit' |
| 36 | + run: '.\\cardano-wallet-launcher-test-unit.exe --color' |
| 37 | + continue-on-error: true |
| 38 | + - name: 'cardano-wallet-jormungandr:unit' |
| 39 | + run: '.\\cardano-wallet-jormungandr-test-unit.exe --color' |
| 40 | + - name: 'cardano-wallet-jormungandr:integration' |
| 41 | + run: '.\\cardano-wallet-jormungandr-test-jormungandr-integration.exe --color' |
| 42 | + continue-on-error: true |
| 43 | + timeout-minutes: 60 |
0 commit comments