add env var to qa for tests to work #16
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: Pull Request Quality Checks | |
| on: | |
| pull_request: | |
| types: [ opened, synchronize ] | |
| branches: [ main ] | |
| jobs: | |
| run-qa: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: false | |
| python-version: 3.11 | |
| - name: Run qa | |
| env: | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| run: | | |
| python -m venv ./.venv | |
| source ./.venv/bin/activate | |
| make dev | |
| make qa |