Add metrics calculations to the inference pipeline #43
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
# This workflow runs pre-commit hooks on pull requests to enforce coding style. | |
# To ensure correct configuration, please refer to: | |
# https://lincc-ppt.readthedocs.io/en/latest/practices/ci_precommit.html | |
name: Run pre-commit hooks | |
on: | |
pull_request: | |
jobs: | |
pre-commit-ci: | |
runs-on: ubuntu-latest | |
env: | |
SKIP: "check-lincc-frameworks-template-version,pytest-check,no-commit-to-branch,validate-pyproject,check-added-large-files,sphinx-build" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Dependencies | |
uses: ./.github/actions/deps | |
with: | |
python-version: '3.10' | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }} | |
- uses: pre-commit-ci/[email protected] | |
if: always() |