forked from ManageIQ/manageiq-pods
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 794 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
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"