Skip to content

Commit

Permalink
no travis
Browse files Browse the repository at this point in the history
  • Loading branch information
justquick committed Dec 5, 2021
1 parent 34987ec commit 88744ec
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 24 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python package

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,29 @@ python = "^3.7"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37
[testenv]
deps =
requests==2.26.0
Flask==2.0.2
Flask-WeasyPrint==0.6
weasyprint==53.4
attrdict==2.0.1
PyYAML==6.0
pytest==6.2.5
pytest-cov==3.0.0
ipython
commands =
python -m pytest
[gh-actions]
python =
3.7: py37
"""
18 changes: 0 additions & 18 deletions tox.ini

This file was deleted.

0 comments on commit 88744ec

Please sign in to comment.