Pull Request #887
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull_request | |
run-name: Pull Request | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
permissions: | |
contents: read | |
# Prevent running concurrently | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
get_changed_files: | |
name: Get changed files | |
uses: ./.github/workflows/JOB_get_changed_files.yml | |
permissions: | |
contents: read | |
format: | |
name: Check format of python | |
needs: get_changed_files | |
uses: ./.github/workflows/JOB_format.yml | |
with: | |
files: ${{ needs.get_changed_files.outputs.python_changed_files }} | |
permissions: | |
contents: read | |
lint: | |
name: Lint python | |
needs: get_changed_files | |
uses: ./.github/workflows/JOB_lint.yml | |
with: | |
files: ${{ needs.get_changed_files.outputs.python_changed_files }} | |
permissions: | |
contents: read | |
# typecheck: | |
# name: Analyse types in python | |
# needs: get_changed_files | |
# uses: ./.github/workflows/JOB_typecheck.yml | |
# with: | |
# files: ${{ needs.get_changed_files.outputs.python_changed_files }} | |
# permissions: | |
# contents: read | |
run_tests: | |
name: Run tests | |
uses: ./.github/workflows/JOB_tests.yml | |
permissions: | |
contents: read |