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 86edd46
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 20 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: streaming-form-data

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
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 86edd46

Please sign in to comment.