Skip to content

CI

CI #2162

Workflow file for this run

---
name: CI
on:
push:
pull_request:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '3.1'
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"