Skip to content

Commit

Permalink
use github actions for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantgoel committed Sep 7, 2019
1 parent b60ea51 commit 3ec6943
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 20 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: streaming-form-data

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.5, 3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Set up poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Lint with flake8
run: |
poetry run flake8
- name: Lint with mypy
run: |
poetry run mypy streaming_form_data/
- name: Test with py.test
run: |
poetry run py.test tests/
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 3ec6943

Please sign in to comment.