Skip to content

Commit 2aff80f

Browse files
committed
combine
1 parent ea54111 commit 2aff80f

2 files changed

Lines changed: 35 additions & 55 deletions

File tree

.github/workflows/smart-proxy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/windows.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)