Skip to content
Merged
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
53 changes: 53 additions & 0 deletions .github/workflows/ci_workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI

on:
pull_request:
push:
schedule:
# Run every Sunday at 06:53 UTC
- cron: 53 6 * * 0

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: 3.6
toxenv: py36-test-pytest46
- os: windows-latest
python-version: 3.6
toxenv: py36-test-pytest50
- os: macos-latest
python-version: 3.7
toxenv: py37-test-pytest51
- os: ubuntu-latest
python-version: 3.7
toxenv: py37-test-pytest52
- os: windows-latest
python-version: 3.8
toxenv: py38-test-pytest53
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-pytest60
- os: macos-latest
python-version: 3.9
toxenv: py39-test-pytest61
- os: ubuntu-latest
python-version: 3.9
toxenv: py39-test-pytestdev

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox
run: python -m pip install tox
- name: Run Tox
run: tox -v -e ${{ matrix.toxenv }}
74 changes: 0 additions & 74 deletions .travis.yml

This file was deleted.

11 changes: 3 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
|Travis Build Status| |AppVeyor Build status| |Coverage|
.. image:: https://github.com/astropy/pytest-arraydiff/workflows/CI/badge.svg
:target: https://github.com/astropy/pytest-arraydiff/actions
:alt: CI Status

About
-----
Expand Down Expand Up @@ -186,10 +188,3 @@ install the latest version of the plugin then do::

The reason for having to install the plugin first is to ensure that the
plugin is correctly loaded as part of the test suite.

.. |Travis Build Status| image:: https://travis-ci.org/astrofrog/pytest-arraydiff.svg?branch=master
:target: https://travis-ci.org/astrofrog/pytest-arraydiff
.. |AppVeyor Build status| image:: https://ci.appveyor.com/api/projects/status/0nech6qgp8jlabjp/branch/master?svg=true
:target: https://ci.appveyor.com/project/astropy/pytest-arraydiff
.. |Coverage| image:: https://codecov.io/gh/astropy/pytest-arraydiff/branch/master/graph/badge.svg
:target: https://codecov.io/gh/astropy/pytest-arraydiff
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{36,37,38}-test{,-devdeps}
py{36,37,38,39}-test{,-devdeps}
codestyle
requires =
setuptools >= 30.3.0
Expand All @@ -17,6 +17,7 @@ deps =
pytest52: pytest==5.2.*
pytest53: pytest==5.3.*
pytest60: pytest==6.0.*
pytest61: pytest==6.1.*
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest

commands =
Expand Down