Skip to content

Commit

Permalink
Modified workflow env.
Browse files Browse the repository at this point in the history
  • Loading branch information
souradipp76 committed Nov 9, 2024
1 parent 0999eb6 commit d8b0d17
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
OPENAI_API_KEY: dummy

jobs:
linter:
strategy:
Expand Down Expand Up @@ -51,10 +48,11 @@ jobs:
run: make install
- name: Run tests
run: make test
env:
OPENAI_API_KEY: dummy
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
# with:
# fail_ci_if_error: true

# tests_mac:
Expand Down Expand Up @@ -89,8 +87,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install Pip
run: python.exe -m pip install --user --upgrade pip
run: pip install --user --upgrade pip
- name: Install project
run: pip install -e .[test]
- name: run tests
run: pytest -s -vvvv -l --tb=long tests
env:
OPENAI_API_KEY: dummy

0 comments on commit d8b0d17

Please sign in to comment.