Skip to content

Commit 6a03523

Browse files
Merge pull request #28 from ConvertAPI/feature/github-workflow
Switch to Github workflow
2 parents 6406858 + c976705 commit 6a03523

File tree

3 files changed

+29
-16
lines changed

3 files changed

+29
-16
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

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# ConvertAPI Python Client
22

33
[![PyPI version](https://badge.fury.io/py/convertapi.svg)](https://badge.fury.io/py/convertapi)
4-
[![Build Status](https://secure.travis-ci.org/ConvertAPI/convertapi-python.svg)](http://travis-ci.org/ConvertAPI/convertapi-python)
4+
[![Build Status](https://github.com/ConvertAPI/convertapi-python/actions/workflows/main.yml/badge.svg)](https://github.com/ConvertAPI/convertapi-python/actions)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
56

67
## Convert your files with our online file conversion API
78

0 commit comments

Comments
 (0)