Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Jun 12, 2024
1 parent da691dc commit ea9ff82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:

jobs:
test-all-extras:
name: Test with all extra dependencies (expected to include all tests)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -19,8 +20,11 @@ jobs:
- name: Run tests
run: rye test
- name: Run invariant.examples
env:
OPENAI_API_KEY: {{ secrets.CI_OPENAI_API_KEY }}
run: rye run python -m unittest discover -s invariant/examples -p "*_example.py"
test-no-extras:
name: Test without extra dependencies (some tests will be skipped, but this is the default setup when users install the package)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit ea9ff82

Please sign in to comment.