Silence errors when not on a Kedro project #146
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: Install development dependencies | |
on: | |
pull_request: | |
workflow_dispatch: | |
workflow_call: | |
inputs: | |
os: | |
type: string | |
python-version: | |
type: string | |
branch: | |
type: string | |
default: '' | |
jobs: | |
install: | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.branch }} | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install uv | |
run: pip install uv | |
# - name: Add MSBuild to PATH | |
# if: inputs.os == 'windows-latest' | |
# uses: microsoft/setup-msbuild@v2 | |
- name: Install dependencies | |
run: | | |
make dev-install | |
- name: pip freeze | |
run: uv pip freeze --system | |
# - name: Run unit tests | |
# run: make test |