sdadfadas

Форк
0
/
superset-python-misc.yml 
53 строки · 1.5 Кб
1
# Python Misc unit tests
2
name: Python Misc
3

4
on:
5
  push:
6
    branches:
7
      - "master"
8
      - "[0-9].[0-9]*"
9
  pull_request:
10
    types: [synchronize, opened, reopened, ready_for_review]
11

12
# cancel previous workflow jobs for PRs
13
concurrency:
14
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
15
  cancel-in-progress: true
16

17
jobs:
18
  python-lint:
19
    runs-on: ubuntu-22.04
20
    steps:
21
      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
22
        uses: actions/checkout@v4
23
        with:
24
          persist-credentials: false
25
          submodules: recursive
26
      - name: Check for file changes
27
        id: check
28
        uses: ./.github/actions/change-detector/
29
        with:
30
          token: ${{ secrets.GITHUB_TOKEN }}
31
      - name: Setup Python
32
        uses: ./.github/actions/setup-backend/
33
        if: steps.check.outputs.python
34

35
  babel-extract:
36
    runs-on: ubuntu-22.04
37
    steps:
38
      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
39
        uses: actions/checkout@v4
40
        with:
41
          persist-credentials: false
42
          submodules: recursive
43
      - name: Check for file changes
44
        id: check
45
        uses: ./.github/actions/change-detector/
46
        with:
47
          token: ${{ secrets.GITHUB_TOKEN }}
48
      - name: Setup Python
49
        if: steps.check.outputs.python
50
        uses: ./.github/actions/setup-backend/
51
      - name: Test babel extraction
52
        if: steps.check.outputs.python
53
        run: scripts/translations/babel_update.sh
54

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.