Download projects/oui-max/.github/workflows/ci.yml from LevelUp2x/adaptai: direct link, hf CLI and curl.
- Browser
- Download file 675 Bytes
-
https://huggingface.co/datasets/LevelUp2x/adaptai/resolve/main/projects/oui-max/.github/workflows/ci.yml
- Command line
-
hf download hf://datasets/LevelUp2x/adaptai/projects/oui-max/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/datasets/LevelUp2x/adaptai/resolve/main/projects/oui-max/.github/workflows/ci.yml
675 Bytes
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - vast1-2-dev | |
| pull_request: | |
| branches: | |
| - main | |
| - vast1-2-dev | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' # Based on /venv/main/bin/python3.12 | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt | |
| - name: Run Ruff (Linting) | |
| run: pip install ruff && ruff check . | |
| - name: Run Ruff (Formatting Check) | |
| run: pip install ruff && ruff format --check . | |
| - name: Run tests | |
| run: pytest | |