| 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 | |