generated from deepgram/oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18b3d5d
commit 18ea338
Showing
111 changed files
with
5,198 additions
and
3,803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Check - lint | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- assigned | ||
- opened | ||
- synchronize | ||
- reopened | ||
paths: | ||
- "deepgram/**.py" | ||
|
||
jobs: | ||
checklint: | ||
name: Check shell | ||
# Only run this job if we're in the main repo, not a fork. | ||
if: github.repository == 'deepgram/deepgram-python-sdk' | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code by commit | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Ensure dependencies installed | ||
shell: bash | ||
run: | | ||
make ensure-deps | ||
- name: Install Dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
pip install -r requirements-dev.txt | ||
pip install -r examples/requirements-examples.txt | ||
- name: Run mdlint | ||
run: | | ||
make lint |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Check - static | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- assigned | ||
- opened | ||
- synchronize | ||
- reopened | ||
paths: | ||
- "deepgram/**.py" | ||
|
||
jobs: | ||
checkstatic: | ||
name: Check static | ||
# Only run this job if we're in the main repo, not a fork. | ||
if: github.repository == 'deepgram/deepgram-python-sdk' | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout code by commit | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Ensure dependencies installed | ||
shell: bash | ||
run: | | ||
make ensure-deps | ||
- name: Install Dependencies | ||
run: | | ||
pip install -r requirements.txt | ||
pip install -r requirements-dev.txt | ||
pip install -r examples/requirements-examples.txt | ||
- name: Run mdlint | ||
run: | | ||
make static |
Oops, something went wrong.