Skip to content

Commit

Permalink
Change Travis to GitHub Actions, remove Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
dekoza committed Dec 11, 2021
1 parent 6de5020 commit 2c55e3c
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 32 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/codacy-coverage-reporter.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/run_tox.yml
@@ -0,0 +1,25 @@
name: Django-GetPaid

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.7, 3.8, 3.9, 3.10]

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
4 changes: 0 additions & 4 deletions README.rst
Expand Up @@ -3,14 +3,10 @@
:alt: Latest PyPI version
.. image:: https://img.shields.io/travis/sunscrapers/django-getpaid.svg
:target: https://travis-ci.org/sunscrapers/django-getpaid
.. image:: https://api.codacy.com/project/badge/Coverage/d25ba81e2e4740d6aac356f4ac90b16d
:target: https://www.codacy.com/manual/dekoza/django-getpaid
.. image:: https://img.shields.io/pypi/wheel/django-getpaid.svg
:target: https://pypi.org/project/django-getpaid/
.. image:: https://img.shields.io/pypi/l/django-getpaid.svg
:target: https://pypi.org/project/django-getpaid/
.. image:: https://api.codacy.com/project/badge/Grade/d25ba81e2e4740d6aac356f4ac90b16d
:target: https://www.codacy.com/manual/dekoza/django-getpaid

=============================
Welcome to django-getpaid
Expand Down
20 changes: 11 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Expand Up @@ -23,12 +23,11 @@ packages = [

[tool.poetry.dependencies]
python = "^3.7"
importlib-metadata = {version = "^1.0", python = "<3.8"}
django-model-utils = "^4.1.1"
pendulum = "^2.1.2"

swapper = "^1.1.2"
django-fsm = "^2.7.1"
django-fsm = "^2.8.0"
typing-extensions = "^3.10.0"

[tool.poetry.group.dev.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -20,14 +20,14 @@ deps =
extras =
test

[travis]
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[travis:env]
[gh-actions:env]
DJANGO =
2.2: django22
3.1: django31
Expand Down

0 comments on commit 2c55e3c

Please sign in to comment.