Skip to content

Commit 33d8729

Browse files
committed
feat: allow management of assertions based on teams
`codeflare --team ...`
1 parent 317c668 commit 33d8729

File tree

13 files changed

+5490
-2030
lines changed

13 files changed

+5490
-2030
lines changed

Diff for: .github/workflows/cli.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CLI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
kind:
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
node-version: [16.x]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
26+
27+
- run: npm ci && npm run build:headless
28+
29+
- name: Run Test
30+
env:
31+
EXECUTABLE_PATH: github-actions-production
32+
run: ./tests/cli/run.sh

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![CLI Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/cli.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/cli.yml)
12
[![UI Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/ui.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/ui.yml)
23
[![Kube Tests](https://github.com/project-codeflare/codeflare-cli/actions/workflows/kind.yml/badge.svg)](https://github.com/project-codeflare/codeflare-cli/actions/workflows/kind.yml)
34

Diff for: bin/codeflare

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fi
117117

118118
do_cli=1
119119
use_docker=0
120-
while getopts "piqaydnVs:" opt
120+
while getopts "piqaydnVs:t:" opt
121121
do
122122
case $opt in
123123
d) use_docker=1; continue;;

0 commit comments

Comments
 (0)