Spaces:
Paused
Paused
Download .github/workflows/ci.yml from rishik1111/faceid: direct link, hf CLI and curl.
- Browser
- Download file 767 Bytes
-
https://huggingface.co/spaces/rishik1111/faceid/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/rishik1111/faceid/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/rishik1111/faceid/resolve/main/.github/workflows/ci.yml
767 Bytes
| name: FaceID CI Pipeline | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Install System Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libgl1-mesa-glx libglib2.0-0 | |
| - name: Install Python Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install pytest | |
| - name: Run Unit Tests | |
| run: | | |
| python -m pytest tests/ -v | |