Skip to content

Commit

Permalink
Merge pull request Yelp#380 from Yelp/spatel/github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Semir Patel committed Feb 5, 2021
2 parents a783275 + 9a89e6e commit 382db87
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 30 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,24 @@
---
name: build
on: push
jobs:
tox:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
tox:
- py27
- py36
- py37
- pre-commit
- mypy
- docs
# TODO: benchmark blocked on https://github.com/actions/toolkit/issues/399
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- run: pip install tox
- run: tox -e ${{ matrix.tox }}
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
@@ -1,5 +1,5 @@
.. image:: https://img.shields.io/travis/Yelp/bravado-core/master.svg?label=Linux+Build
:target: https://travis-ci.org/Yelp/bravado-core?branch=master
.. image:: https://github.com/Yelp/bravado-core/workflows/build/badge.svg?branch=master
:target: https://github.com/Yelp/bravado-core/actions?query=workflow%3Abuild

.. image:: https://img.shields.io/coveralls/Yelp/bravado-core.svg
:target: https://coveralls.io/r/Yelp/bravado-core
Expand Down
Empty file added tests/exception/__init__.py
Empty file.
3 changes: 1 addition & 2 deletions tox.ini
Expand Up @@ -29,8 +29,7 @@ commands =

[testenv:docs]
deps =
# we're getting an error on travis with Sphinx 1.8.0, so we use a lower version
sphinx < 1.8.0
sphinx
sphinx-rtd-theme
changedir = docs
commands = sphinx-build -b html -d build/doctrees source build/html
Expand Down

0 comments on commit 382db87

Please sign in to comment.