CI #2330
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: 0 0 * * * | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: | |
- '3.3' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Before install | |
run: bin/before_install | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "${{ matrix.ruby-version }}" | |
bundler-cache: true | |
timeout-minutes: 30 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: manageiq-operator/go.mod | |
- name: Run ruby tests | |
run: bundle exec rake | |
- name: Run golang tests | |
run: | | |
make test | |
make build | |
make docker-build | |
working-directory: "./manageiq-operator" |