This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add GCP firestore components #441
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: Extras | |
on: [pull_request] | |
jobs: | |
run-extras-tests: | |
name: Run Imports | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
extras: | |
- "cloud_storage" | |
- "bigquery" | |
- "secret_manager" | |
- "aiplatform" | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
cache: pip | |
cache-dependency-path: requirements*.txt | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade --upgrade-strategy eager -e ".[${{ matrix.extras }}]" | |
- name: Run extras imports | |
env: | |
PREFECT_SERVER_DATABASE_CONNECTION_URL: "sqlite+aiosqlite:///./tests.db" | |
run: | | |
python -c "import prefect_gcp.${{ matrix.extras }}; print(prefect_gcp)" |