Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Replacing travis with Dephell Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Parmentier committed Oct 22, 2020
1 parent a9e3825 commit ecd09ed
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 50 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/main.yml
@@ -0,0 +1,46 @@
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- pypy3
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Checkout
uses: actions/checkout@v2
- name: Run DepHell
uses: dephell/dephell_action@master

linters:
runs-on: ubuntu-latest
strategy:
matrix:
dephell-env:
- flake8
- typing
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Checkout
uses: actions/checkout@v2
- name: Run DepHell
uses: dephell/dephell_action@master
with:
dephell-env: ${{ matrix.dephell-env }}
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

14 changes: 7 additions & 7 deletions appveyor.yml
Expand Up @@ -5,13 +5,6 @@ build: false

environment:
matrix:
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"
ARCH: "64"
WINDOWS_SDK_VERSION: "v7.1"
PLAT_NAME: "win-amd64"
PY_TAG: "cp35"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"
ARCH: "64"
Expand All @@ -26,6 +19,13 @@ environment:
PLAT_NAME: "win-amd64"
PY_TAG: "cp37"

- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8.x"
ARCH: "64"
WINDOWS_SDK_VERSION: "v7.1"
PLAT_NAME: "win-amd64"
PY_TAG: "cp38"

init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
@@ -1,6 +1,7 @@
[tool.dephell.main]
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "setuppy", path = "setup.py"}
tag = "v."

[tool.dephell.flake8]
from = {format = "pip", path = "requirements-flake.txt"}
Expand Down Expand Up @@ -38,5 +39,5 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.5"
attrs = "*"
python = ">=3.6"
attrs = "*"
10 changes: 8 additions & 2 deletions requirements-flake.txt
@@ -1,11 +1,10 @@
flake8

flake8-comprehensions # https://github.com/adamchainz/flake8-comprehensions
flake8-alfred # https://github.com/datatheorem/flake8-alfred
flake8-blind-except # https://github.com/elijahandrews/flake8-blind-except
flake8-broken-line # https://github.com/sobolevn/flake8-broken-line
flake8-bugbear # https://github.com/PyCQA/flake8-bugbear
flake8-commas # https://github.com/PyCQA/flake8-commas
flake8-comprehensions # https://github.com/adamchainz/flake8-comprehensions
flake8-debugger # https://github.com/JBKahn/flake8-debugger
flake8-logging-format # https://github.com/globality-corp/flake8-logging-format
flake8-mutable # https://github.com/ebeweber/flake8-mutable
Expand All @@ -14,3 +13,10 @@ flake8-quotes # https://github.com/zheller/flake8-quotes
flake8-tidy-imports # https://github.com/adamchainz/flake8-tidy-imports
flake8-variables-names # https://github.com/best-doctor/flake8-variables-names
pep8-naming # https://github.com/PyCQA/pep8-naming


# flake8-string-format # https://github.com/xZise/flake8-string-format
# disabled: https://github.com/xZise/flake8-string-format/issues/16

# flake8-broken-line # https://github.com/sobolevn/flake8-broken-line
# disabled: https://github.com/sobolevn/flake8-broken-line/issues/38

0 comments on commit ecd09ed

Please sign in to comment.