Move dataset hydration into Python config package. #20
Workflow file for this run
This file contains hidden or 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: dash_evals module - Python tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/dash_evals/**' | |
| - '.github/workflows/dash_evals_module_tests.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/dash_evals/**' | |
| - '.github/workflows/dash_evals_module_tests.yml' | |
| jobs: | |
| runner-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Create virtual environment | |
| working-directory: packages/dash_evals | |
| run: python -m venv .venv | |
| - name: Install dependencies | |
| working-directory: packages/dash_evals | |
| run: | | |
| source .venv/bin/activate | |
| pip install --upgrade pip | |
| pip install -e ../dataset_config_python | |
| pip install -e ".[dev]" | |
| - name: Run tests | |
| working-directory: packages/dash_evals | |
| run: | | |
| source .venv/bin/activate | |
| pytest -v |