Validation dataloader so that train_size gets used (#39)
#30
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: Build docs, deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: 'pages' | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11.8 | |
| cache: pip | |
| cache-dependency-path: | | |
| pyproject.toml | |
| docs/requirements.txt | |
| - name: Install tiledbsoma-ml | |
| run: | | |
| pip install --upgrade pip wheel setuptools | |
| pip install . | |
| - name: Build docs | |
| working-directory: docs | |
| run: | | |
| pip install -r requirements.txt | |
| make html | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| - run: pnpm i | |
| working-directory: www | |
| - run: npm run build # When $CI is set, this outputs to dist/shuffle | |
| working-directory: www | |
| - name: Copy RTD build into www/dist | |
| run: mv docs/_build/html/* www/dist/ | |
| - uses: actions/configure-pages@v4 | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: 'www/dist' | |
| - uses: actions/deploy-pages@v4 | |
| id: deployment |