generated from deepgram/oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 122
41 lines (34 loc) · 892 Bytes
/
check-static.yaml
File metadata and controls
41 lines (34 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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