forked from containers/ramalama
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 808 Bytes
/
ci.yml
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
name: ci
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: install bats
shell: bash
run: |
sudo apt-get update
sudo apt-get install bats bash codespell python3-argcomplete
make install-requirements
- name: run test
run: |
make validate
make bats
macos:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: install golang
shell: bash
run: |
brew install go
make install-requirements
- name: Run a one-line script
shell: bash
run: make validate
# FIXME: ci script should be able to run on MAC.
# - name: Run ci
# shell: bash
# run: make ci