Skip to content

Commit bbd2a23

Browse files
committed
Fix missing API when running actions
1 parent 6e7c030 commit bbd2a23

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

.github/workflows/python.yml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
name: Pyrogram
22

3-
on: [push]
3+
on: [ push ]
44

55
jobs:
66
build:
77

88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9]
11+
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
1212

1313
steps:
14-
- uses: actions/checkout@v2
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v2
17-
with:
18-
python-version: ${{ matrix.python-version }}
19-
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade pip
22-
pip install tox
23-
- name: Run tests
24-
run: |
25-
tox
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install tox
25+
26+
- name: Generate API
27+
run: |
28+
python setup.py generate --api
29+
30+
- name: Run tests
31+
run: |
32+
tox

0 commit comments

Comments
 (0)