Adds the ability to specialize existing transformations to be applied with separate configurations to different portions of the data based on configurable filters. #175
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 finds which files were changed, prints them, | |
# and runs `pre-commit` on those files. | |
# Inspired by the sktime library: | |
# https://github.com/alan-turing-institute/sktime/blob/main/.github/workflows/test.yml | |
name: Code Quality PR | |
on: | |
pull_request: | |
branches: [main, "release/*", "dev"] | |
jobs: | |
code-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- name: Find modified files | |
id: file_changes | |
uses: trilom/file-changes-action@v1.2.4 | |
with: | |
output: " " | |
- name: List modified files | |
run: echo '${{ steps.file_changes.outputs.files}}' | |
- name: Run pre-commits | |
uses: pre-commit/action@v3.0.1 | |
with: | |
extra_args: --files ${{ steps.file_changes.outputs.files}} |