Download .github/workflows/ci.yml from Kai9987kai/CROSSWIRE: direct link, hf CLI and curl.
- Browser
- Download file 2.11 kB
-
https://huggingface.co/Kai9987kai/CROSSWIRE/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://Kai9987kai/CROSSWIRE/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/Kai9987kai/CROSSWIRE/resolve/main/.github/workflows/ci.yml
2.11 kB
| name: CI | |
| on: | |
| push: | |
| branches: [ main, codex/crosswire-design ] | |
| pull_request: | |
| branches: [ main, codex/crosswire-design ] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ["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 dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev,baselines]" | |
| - name: Run automated test suite | |
| run: | | |
| python -m pytest -q --tb=short | |
| - name: Build wheel package | |
| run: | | |
| python -m build --wheel | |
| - name: Verify package installation | |
| run: | | |
| python -I tools/check_distribution.py --wheel-dir dist | |
| - name: Verify scientific receipt replay | |
| run: | | |
| python -m crosswire verify reports/budgeted-experiments-receipt.json | |
| browser: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev,baselines]" | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Playwright and Chromium | |
| run: | | |
| npm install playwright | |
| npx playwright install --with-deps chromium | |
| - name: Run browser workbench end-to-end checks | |
| run: | | |
| node tools/check_workbench.cjs | |
| - name: Upload Playwright artifacts on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-artifacts | |
| path: output/playwright/ | |