mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-05 08:39:15 +03:00
34 lines
913 B
YAML
34 lines
913 B
YAML
name: ci
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ develop ]
|
|
push:
|
|
branches: [ master, develop ]
|
|
tags:
|
|
- v*
|
|
|
|
jobs:
|
|
quality:
|
|
uses: ./.github/workflows/quality.yml
|
|
test:
|
|
uses: ./.github/workflows/test.yml
|
|
needs: [quality]
|
|
webui:
|
|
if: github.event_name != 'pull_request'
|
|
uses: ./.github/workflows/webui.yml
|
|
needs: [quality, test]
|
|
cyber:
|
|
if: github.event_name != 'pull_request'
|
|
uses: ./.github/workflows/cyber.yml
|
|
needs: [quality, test, webui]
|
|
build:
|
|
if: github.event_name != 'pull_request'
|
|
uses: ./.github/workflows/build.yml
|
|
secrets:
|
|
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
|
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
|
|
needs: [quality, test, webui, cyber]
|