Skip to content

Commit

Permalink
Separate two tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syifan committed May 30, 2023
1 parent 16f413a commit 429c5f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/akita_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

jobs:
compile:
name: Compile
name: Compile Akita
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -19,7 +19,7 @@ jobs:
run: go build ./...

lint:
name: Lint
name: Lint Akita
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -38,7 +38,7 @@ jobs:
args: --timeout=10m

unit_test:
name: Unit Test
name: Unit Test Akita
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -49,7 +49,7 @@ jobs:
with:
go-version: 'stable'

- name: Unit Test
- name: Unit Test Akita
run: |
go test -coverprofile=cover.out ./...
go tool cover -func=cover.out > coverage.out
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/akitartm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: push

jobs:
compile:
name: Compile AkitaRTM
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -15,7 +16,9 @@ jobs:
node-version: 16.x

- name: Install dependencies
working-directory: ./monitoring/web
run: npm install

- name: Build
working-directory: ./monitoring/web
run: npm run build

0 comments on commit 429c5f4

Please sign in to comment.