Skip to content

Commit 8db5e89

Browse files
committed
CI: Move packaging checks to global config
This enables us to depend on this job and make it mandatory
1 parent 1e176cb commit 8db5e89

File tree

2 files changed

+23
-34
lines changed

2 files changed

+23
-34
lines changed

.github/workflows/checks.yml

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

.github/workflows/tests.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,34 @@ jobs:
107107
108108
bundle exec rake parallel:spec
109109
110+
rake_checks:
111+
name: AIO Package Rake Checks
112+
runs-on: ubuntu-24.04
113+
steps:
114+
# needs fetch-depth because the packaging dem reads old git tags
115+
- name: Checkout current PR
116+
uses: actions/checkout@v5
117+
with:
118+
fetch-depth: 0
119+
- name: Install Ruby version 3.3
120+
uses: ruby/setup-ruby@v1
121+
with:
122+
ruby-version: 3.3
123+
bundler-cache: true
124+
- name: Validate code
125+
run: |
126+
bundle exec rake rubocop
127+
bundle exec rake -T | grep vox:build
128+
bundle exec rake -T | grep vox:promote
129+
bundle exec rake -T | grep vox:upload
130+
working-directory: packaging
131+
110132
tests:
111133
if: always()
112134
needs:
113135
- checks
114136
- rspec_tests
137+
- rake_checks
115138
runs-on: ubuntu-24.04
116139
name: Test suite
117140
steps:

0 commit comments

Comments
 (0)