ENH: add GitLens VS Code extension by default #842
Workflow file for this run
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: CI | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: |- | |
${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }} | |
env: | |
PYTHONHASHSEED: "0" | |
on: | |
push: | |
branches: | |
- main | |
- epic/* | |
- "[0-9]+.[0-9]+.x" | |
pull_request: | |
branches: | |
- main | |
- epic/* | |
- "[0-9]+.[0-9]+.x" | |
workflow_dispatch: | |
inputs: | |
specific-pip-packages: | |
description: Run CI with specific pip packages | |
required: false | |
type: string | |
jobs: | |
doc: | |
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v2 | |
permissions: | |
pages: write | |
id-token: write | |
with: | |
gh-pages: true | |
specific-pip-packages: ${{ inputs.specific-pip-packages }} | |
pytest: | |
uses: ComPWA/actions/.github/workflows/pytest.yml@v2 | |
with: | |
coverage-target: compwa_policy | |
macos-python-version: "3.9" | |
specific-pip-packages: ${{ inputs.specific-pip-packages }} | |
style: | |
if: inputs.specific-pip-packages == '' | |
secrets: | |
token: ${{ secrets.PAT }} | |
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2 |