diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..f9910d5 --- /dev/null +++ b/.github/workflows/tests.yaml @@ -0,0 +1,23 @@ +name: Tests +on: [push, pull_request] +jobs: + tests: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python: + - '2.7' + - '3.5' + - '3.6' + - '3.7' + - '3.8' + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + cache: 'pip' + cache-dependency-path: 'setup.oy' + - run: pip install -e .[test] + - run: py.test --cov=promise tests diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 81a125f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: python -sudo: false -python: -- 2.7 -- 3.5 -- 3.6 -- 3.7 -- 3.8 -- pypy -cache: pip -install: -- pip install -e .[test] -script: -- py.test --cov=promise tests -after_success: -- coveralls -matrix: - fast_finish: true - include: - - python: '3.8' - script: | - # pip install pyre-check - # pyre --source-directory promise check - pip install flake8 - flake8 - pip install mypy - mypy promise --ignore-missing-imports