Skip to content

Commit b01bfe4

Browse files
committed
Remove redundant parameter api models tests workflows
1 parent bebca54 commit b01bfe4

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/tests_api_models.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
name: API Model Tests
1+
name: API Models Tests
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
branch_name:
7-
description: 'Name of the branch to test'
8-
required: true
9-
type: string
105

116
jobs:
127
tests:
13-
name: Run API Model Tests
8+
name: Run API Models Tests
149
runs-on: ubuntu-latest
1510
env:
1611
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
@@ -25,7 +20,7 @@ jobs:
2520
steps:
2621
- uses: actions/checkout@v3
2722
with:
28-
ref: ${{ github.event.inputs.branch_name }}
23+
ref: ${{ github.ref }}
2924

3025
- name: Set up Python ${{ matrix.python-version }}
3126
uses: actions/setup-python@v4
@@ -57,6 +52,6 @@ jobs:
5752
5853
- name: Run tests
5954
run: |
60-
uv run pytest -x --cov=outlines -m 'api_call' --ignore=tests/models/test_dottxt.py
55+
uv run pytest -m 'api_call' --ignore=tests/models/test_dottxt.py
6156
env:
6257
COVERAGE_FILE: .coverage.${{ steps.matrix-id.outputs.id }}

0 commit comments

Comments
 (0)