Skip to content

Commit

Permalink
Pytest Integration Fix (nutanix#16)
Browse files Browse the repository at this point in the history
* inital pytest fix

* github actions yaml fix
  • Loading branch information
saileshd1402 authored Oct 30, 2023
1 parent 7ac93d3 commit d54a129
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install Python dependencies
run: pip install black pylint -r llm/requirements.txt
run: pip install pytest black pylint -r llm/requirements.txt

- name: Run linters
uses: wearerequired/lint-action@v2
with:
black: true
pylint: true
- name: Run pylint
run: pylint ./llm

- name: Run black
run: black ./llm --check
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.11

Expand Down

0 comments on commit d54a129

Please sign in to comment.