Skip to content

Commit

Permalink
Add CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed Mar 10, 2024
1 parent 7ffe0f6 commit ea4f11a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# - Docker Hub
# - Pypi

name: CI
name: build

env:
DEFAULT_DOCKER_IMAGE: nicolargo/glances
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: ci

on:
pull_request:
branches: [ develop ]
push:
branches: [ master, develop ]
tags:
- v*

jobs:
quality:
test:
needs: quality
webui:
if: ${{ always() }}
needs: [quality, test]
build:
needs: [quality, test, webui]
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name: test

on: [push]
# on: [push]

jobs:
test-linux:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml → .github/workflows/webui.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: webui

on:
push:
Expand All @@ -20,7 +20,7 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Glances will be build with Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit ea4f11a

Please sign in to comment.