[NFC][Py Reformat] Reformat python files in llvm
[llvm-project.git] / .github / workflows / clang-tests.yml
blob1c85aad64f22d6ecc3ecad12454dee61398a006c
1 name: Clang Tests
3 permissions:
4   contents: read
6 on:
7   workflow_dispatch:
8   push:
9     ignore-forks: true
10     branches:
11       - 'release/**'
12     paths:
13       - 'clang/**'
14       - '.github/workflows/clang-tests.yml'
15       - '.github/workflows/llvm-project-tests.yml'
16       - '!llvm/**'
17   pull_request:
18     ignore-forks: true
19     branches:
20       - 'release/**'
21     paths:
22       - 'clang/**'
23       - '.github/workflows/clang-tests.yml'
24       - '.github/workflows/llvm-project-tests.yml'
25       - '!llvm/**'
27 concurrency:
28   # Skip intermediate builds: always.
29   # Cancel intermediate builds: only if it is a pull request build.
30   group: ${{ github.workflow }}-${{ github.ref }}
31   cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
33 jobs:
34   check_clang:
35     if: github.repository_owner == 'llvm'
36     name: Test clang,lldb,libclc
37     uses: ./.github/workflows/llvm-project-tests.yml
38     with:
39       build_target: check-clang
40       projects: clang;lldb;libclc