Skip to content

Commit 55a1254

Browse files
committed
Fix workflows.
1 parent 4ebbc65 commit 55a1254

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.github/workflows/test-coverage.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ jobs:
3030
bundler-cache: true
3131

3232
- name: Run tests
33-
timeout-minutes: 5
34-
run: bundle exec bake test
33+
timeout-minutes: 10
34+
run: |
35+
git config --global user.email "samuel@oriontransfer.net"
36+
git config --global user.name "Samuel Williams"
37+
git config --global init.defaultBranch main
38+
bundle exec bake test
3539
3640
- uses: actions/upload-artifact@v4
3741
with:

.github/workflows/test-external.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ jobs:
2323

2424
steps:
2525
- uses: actions/checkout@v4
26-
- uses: ruby/setup-ruby@v1
26+
- uses: ruby/setup-ruby-pkgs@v1
2727
with:
2828
ruby-version: ${{matrix.ruby}}
2929
bundler-cache: true
30+
apt-get: libvips
31+
brew: vips
3032

3133
- name: Run tests
3234
timeout-minutes: 10

.github/workflows/test.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,17 @@ jobs:
3737

3838
steps:
3939
- uses: actions/checkout@v4
40-
- uses: ruby/setup-ruby@v1
40+
- uses: ruby/setup-ruby-pkgs@v1
4141
with:
4242
ruby-version: ${{matrix.ruby}}
4343
bundler-cache: true
44+
brew: wget
45+
apt-get: wget
4446

4547
- name: Run tests
4648
timeout-minutes: 10
47-
run: bundle exec bake test
49+
run: |
50+
git config --global user.email "samuel@oriontransfer.net"
51+
git config --global user.name "Samuel Williams"
52+
git config --global init.defaultBranch main
53+
bundle exec bake test

0 commit comments

Comments
 (0)