Pablo/dev 157 add personal management token parameter to gf client #17
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: Test GlassFlow Python SDK | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
name: Run pytest tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
cache: 'pip' | |
cache-dependency-path: setup.py | |
- name: Install dependencies | |
run: pip install -e .[dev] | |
- name: Run Integration Tests | |
run: pytest tests/glassflow/integration_tests/ | |
env: | |
PIPELINE_ID: ${{ secrets.PIPELINE_ID }} | |
PIPELINE_ACCESS_TOKEN: ${{ secrets.PIPELINE_ACCESS_TOKEN }} | |
checks: | |
name: Run code checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python environment | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
cache: 'pip' | |
cache-dependency-path: setup.py | |
- name: Install dependencies | |
run: pip install -e .[dev] | |
- name: Run isort | |
run: isort . | |
- name: Run linter and code formatter | |
run: ruff check . |