diff --git a/.github/workflows/python_ci.yaml b/.github/workflows/python_ci.yaml index 72357b63..2b49e98a 100644 --- a/.github/workflows/python_ci.yaml +++ b/.github/workflows/python_ci.yaml @@ -5,13 +5,6 @@ on: push: branches: [main] -env: - MANIFOLD_API_KEY: ${{ secrets.MANIFOLD_API_KEY}} - SERP_API_KEY: ${{ secrets.SERP_API_KEY}} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY}} - BET_FROM_ADDRESS: ${{ secrets.BET_FROM_ADDRESS}} - BET_FROM_PRIVATE_KEY: ${{ secrets.BET_FROM_PRIVATE_KEY}} - jobs: mypy: runs-on: ubuntu-latest @@ -27,6 +20,12 @@ jobs: - uses: actions/checkout@v2 - uses: ./.github/actions/python_prepare - name: Run pytest + env: + MANIFOLD_API_KEY: ${{ secrets.MANIFOLD_API_KEY}} + SERP_API_KEY: ${{ secrets.SERP_API_KEY}} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY}} + BET_FROM_ADDRESS: ${{ secrets.BET_FROM_ADDRESS}} + BET_FROM_PRIVATE_KEY: ${{ secrets.BET_FROM_PRIVATE_KEY}} run: poetry run pytest black: