Download .github/workflows/ci.yml from FOUND-AI/found_protocol: direct link, hf CLI and curl.
- Browser
- Download file 563 Bytes
-
https://huggingface.co/FOUND-AI/found_protocol/resolve/main/.github/workflows/ci.yml
- Command line
-
hf download hf://FOUND-AI/found_protocol/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/FOUND-AI/found_protocol/resolve/main/.github/workflows/ci.yml
563 Bytes
| name: FOUND Protocol CI | |
| on: [push, pull_request] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.9 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| sudo apt-get update && sudo apt-get install -y libgl1-mesa-glx | |
| - name: Run tests with pytest | |
| env: | |
| GEMINI_API_KEY: "DUMMY_KEY_FOR_TESTS" | |
| run: pytest | |