summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
blob: 9116e0fdc255f13699fada72ec75f3f4774d0a37 (plain)
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
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: ${{ always() }}
      uses: ./.github/workflows/webui.yml
      needs: [quality, test]
    cyber:
      uses: ./.github/workflows/cyber.yml
      needs: [quality, test, webui]
    build:
      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]