-
Notifications
You must be signed in to change notification settings - Fork 217
85 lines (76 loc) · 2.4 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: windows
on:
schedule:
- cron: "0 20 * * *"
workflow_dispatch:
inputs:
branch:
description: 'Run tests against branch'
default: 'master'
jobs:
setup:
env:
BUILDKITE_API_TOKEN: ${{ secrets.BUILDKITE_TOKEN_READ_BUILDS_ARTIFACTS }}
WORK_DIR: ./test/e2e
BRANCH: ${{ github.event.inputs.branch || 'master' }}
runs-on: windows-2022
name: Download testing bundle
steps:
- uses: actions/[email protected]
- name: Set up Ruby
uses: ruby/[email protected]
with:
ruby-version: 2.7.1
bundler-cache: true
- name: Get 'cardano-wallet-tests-win64.zip'
working-directory: ${{ env.WORK_DIR }}
run: |
bundle install
rake get_latest_windows_tests[%BRANCH%,cardano-wallet-tests-win64]
- name: Report version
working-directory: ${{ env.WORK_DIR }}
run: rake display_versions[cardano-wallet-tests-win64]
- name: Save files
uses: actions/upload-artifact@v3
with:
name: cardano-wallet-tests-win64
path: ${{ env.WORK_DIR }}/cardano-wallet-tests-win64
cardano-wallet-test-unit:
name: 'cardano-wallet:unit'
needs: setup
runs-on: windows-2022
steps:
- uses: actions/download-artifact@v3
with:
name: cardano-wallet-tests-win64
- run: '.\\cardano-wallet-test-unit.exe --color --jobs 1 --skip /Cardano.Wallet.DB.Sqlite/ +RTS -M2G -N2'
text-class-test-unit:
name: 'test-class:unit'
needs: setup
runs-on: windows-2022
steps:
- uses: actions/download-artifact@v3
with:
name: cardano-wallet-tests-win64
- run: '.\\text-class-test-unit.exe --color'
cardano-wallet-launcher-test-unit:
name: 'cardano-wallet-launcher:unit'
needs: setup
runs-on: windows-2022
steps:
- uses: actions/download-artifact@v3
with:
name: cardano-wallet-tests-win64
- run: '.\\cardano-wallet-launcher-test-unit.exe --color'
continue-on-error: true
# ADP-2517 - Fix integration tests on Windows
# cardano-wallet-test-integration:
# name: 'cardano-wallet:integration'
# needs: setup
# runs-on: windows-2022
# steps:
# - uses: actions/download-artifact@v3
# with:
# name: cardano-wallet-tests-win64
# - run: '.\\cardano-wallet-test-integration.exe --color'
# timeout-minutes: 60