Skip to content

Commit ac7d9c4

Browse files
Update pythonpackage.yml
1 parent 2bdd708 commit ac7d9c4

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Python package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
max-parallel: 4
11+
matrix:
12+
python-version: [3.6, 3.7]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install requests
24+
pip install boto3
25+
pip install google-cloud-storage
26+
- name: Install ffmpeg
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install ffmpeg
30+
- name: Test with pytest
31+
run: |
32+
pip install pytest
33+
pytest

0 commit comments

Comments
 (0)