updated workflow file #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test and Coverage | |
| on: | |
| push: | |
| branches: | |
| - coverall_testing | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r server/requirements.txt | |
| - name: Run tests with coverage | |
| run: | | |
| python -m pytest --cov=server server/test | |
| - name: Upload coverage to Coveralls | |
| env: | |
| COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
| OPENAI_API_KEY: "DUMMY KEY" | |
| ANTHROPIC_API_KEY: "DUMMY KEY" | |
| GOOGLE_AI_API_KEY: "DUMMY KEY" | |
| DEEPSEEK_API_KEY: "DUMMY KEY" | |
| DASHSCOPE_API_KEY: "DUMMY KEY" | |
| ALL_GOOGLE_API_KEYS: "DUMMY KEY" | |
| run: | | |
| coveralls |