forked from ConvertAPI/convertapi-library-python
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 714 Bytes
/
main.yml
File metadata and controls
27 lines (27 loc) · 714 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
name: Build
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '2.7'
- '3.6'
- '3.7'
- '3.9'
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
- env:
CONVERT_API_SECRET: ${{ secrets.CONVERTAPI_SECRET }}
run: nosetests