Skip to content

Commit cb4cdea

Browse files
author
Laurynas Butkus
committed
Switch to Github workflow
1 parent 6406858 commit cb4cdea

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build
2+
on: [push,pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version:
9+
- '2.7'
10+
- '3.6'
11+
- '3.7'
12+
- '3.9'
13+
name: Python ${{ matrix.python-version }} sample
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-python@v3
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
cache: 'pip'
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install -r requirements.txt
24+
pip install -r test-requirements.txt
25+
- env:
26+
CONVERT_API_SECRET: ${{ secrets.CONVERTAPI_SECRET }}
27+
run: nosetests

0 commit comments

Comments
 (0)