File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,12 +69,47 @@ jobs:
6969 - name : Run rake test
7070 run : bundle exec rake test
7171
72+ tests-on-windows :
73+ name : " Test on Windows - Ruby ${{ matrix.ruby }}"
74+ runs-on : windows-latest
75+ needs :
76+ - setup_matrix
77+ defaults :
78+ run :
79+ shell : pwsh
80+ strategy :
81+ matrix : ${{ fromJson(needs.setup_matrix.outputs.matrix) }}
82+ env :
83+ BUNDLE_WITHOUT : " krb5 libvirt"
84+ steps :
85+ - name : Checkout this repo
86+ uses : actions/checkout@v4
87+ - name : Set up Ruby (Windows)
88+ uses : ruby/setup-ruby@v1
89+ with :
90+ ruby-version : ${{ matrix.ruby }}
91+ bundler-cache : true
92+ - name : Show Ruby env (sanity)
93+ run : |
94+ ruby -v
95+ gem -v
96+ ridk version
97+ - name : Rake sanity
98+ run : |
99+ bundle exec rake -T
100+ - name : Archive Gemfile.lock
101+ uses : actions/upload-artifact@v4
102+ with :
103+ name : Gemfile-ruby-${{ matrix.ruby }}.lock
104+ path : Gemfile.lock
105+
72106 result :
73107 if : always()
74108 name : Test suite
75109 runs-on : ubuntu-24.04
76110 needs :
77111 - tests
112+ - tests-on-windows
78113 steps :
79114 - name : Decide whether the needed jobs succeeded or failed
80115 uses : re-actors/alls-green@release/v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments