Skip to content

Commit

Permalink
Merge 5fc974f into 88a7d93
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathas-Conceicao committed Sep 9, 2020
2 parents 88a7d93 + 5fc974f commit 30553d7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
python: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Dependencies
run: pip install tox coveralls
- name: Run schemas tests
run: ./tests/schemas/run.sh
- name: Run Tox
run: tox -e py
- name: Coverage
run: coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tox]
envlist = py34, py35, py36
envlist = py35, py36, py37, py38

[testenv]
deps =
pytest==2.9.1
pytest-cov==2.2.1
pytest-pep8==1.0.6
pytest==5.4.*
pytest-cov==2.5.*
pytest-pep8==1.0.*
commands =
py.test tests/pkgschema/tests.py \
--cov={envsitepackagesdir}/pkgschema \
Expand Down

0 comments on commit 30553d7

Please sign in to comment.