Skip to content

Commit cb7aa8b

Browse files
Use GitHub actions for CI
1 parent 8f218f1 commit cb7aa8b

2 files changed

Lines changed: 34 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the master branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- master
12+
13+
jobs:
14+
python:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ["3.6", "3.7", "3.8", "3.9"]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: Set up Python 3.9
24+
uses: actions/setup-python@v2
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
architecture: x64
28+
29+
- name: Install Dependencies
30+
run: pip install -e .[test]
31+
32+
- name: Test with pytest
33+
run: |
34+
pytest --cov=transloadit tests

.travis.yml

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

0 commit comments

Comments
 (0)