Skip to content

build(deps-dev): update nbstripout requirement from ^0.7 to >=0.7,<0.9 #719

build(deps-dev): update nbstripout requirement from ^0.7 to >=0.7,<0.9

build(deps-dev): update nbstripout requirement from ^0.7 to >=0.7,<0.9 #719

Workflow file for this run

name: CI
on:
push:
branches:
- 'develop'
pull_request:
branches:
- '*'
workflow_call:
jobs:
ci:
name: Launching CI
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: make download-poetry
- name: Set up pip cache
uses: actions/[email protected]
with:
path: ~/.cache/pypoetry/virtualenvs
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
- name: Set Poetry Path
run: |
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install requirements
run: |
poetry run pip install --upgrade pip
poetry install
- name: Run Pre commit hooks
run: make format-code
- name: Run tests
run: make run-tests
cli-integration-tests:
name: Launching CLI Integration Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: make download-poetry
- name: Set up pip cache
uses: actions/[email protected]
with:
path: ~/.cache/pypoetry/virtualenvs
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
- name: Set Poetry Path
run: |
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install requirements
run: |
poetry run pip install --upgrade pip
poetry install
- name: Test root command
run: |
cd example
poetry run -C .. vertex-deployer --version
- name: Test config command
run: |
cd example
poetry run -C .. vertex-deployer config --all
- name: Test list command
run: |
cd example
poetry run -C .. vertex-deployer list --with-configs
- name: Test check command
run: |
cd example
poetry run -C .. vertex-deployer check --all
- name: Test deploy command
# Cannot check more than compile action here, need GCP environment for upload, run, schedule
run: |
cd example
poetry run -C .. vertex-deployer -log DEBUG deploy dummy_pipeline broken_pipeline --compile --env-file example.env --skip-validation
- name: Test create command
run: |
cd example
poetry run -C .. vertex-deployer create test_pipeline --config-type py
[ -e example/vertex/pipelines/test_pipeline.py ] && echo 1 || echo 0