forked from ManageIQ/manageiq-pods
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 810 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
38
---
name: CI
on:
push:
pull_request:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version:
- '2.7'
- '3.0'
steps:
- uses: actions/checkout@v3
- 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@v4
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"