Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .ci/appveyor.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .ci/deploy.linux.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .ci/deploy.osx.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .ci/deps.linux.sh

This file was deleted.

11 changes: 0 additions & 11 deletions .ci/deps.osx.sh

This file was deleted.

47 changes: 0 additions & 47 deletions .ci/run_with_env.cmd

This file was deleted.

5 changes: 0 additions & 5 deletions .coafile

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-20.04
- windows-2019
- macos-10.15
python-version:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
steps:
- uses: actions/checkout@v2
- 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
python -m pip install tox
- name: Run test via Tox
run: tox --skip-missing-interpreters
# - uses: codecov/codecov-action@v1
19 changes: 0 additions & 19 deletions .pre-commit-config.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions .rultor.yml

This file was deleted.

55 changes: 0 additions & 55 deletions .travis.yml

This file was deleted.

3 changes: 3 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@
def pytest_collect_file(path, parent):
if babel_path.common(path) == babel_path:
if path.ext == ".py":
# TODO: remove check when dropping support for old Pytest
if hasattr(DoctestModule, "from_parent"):
return DoctestModule.from_parent(parent, fspath=path)
return DoctestModule(path, parent)
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ envlist = py27, pypy, py34, py35, py36, py37, pypy3, py27-cdecimal

[testenv]
deps =
pytest==4.3.1
pytest-cov==2.6.1
pytest==4.3.1;python_version<"3.5"
pytest==6.1.2;python_version>="3.5"
pytest-cov
cdecimal: m3-cdecimal
freezegun==0.3.12
backports.zoneinfo;python_version>"3.6" and python_version<"3.9"
whitelist_externals = make
commands = make clean-cldr test
commands = make clean-cldr test-cov
passenv = PYTHON_TEST_FLAGS

[pep8]
Expand Down