Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit 236bc55

Browse files
authored
Merge pull request #38 from pllim/last-actions-hero
TST: Use Actions, update test matrix
2 parents b93894e + 8978009 commit 236bc55

File tree

4 files changed

+58
-78
lines changed

4 files changed

+58
-78
lines changed

.github/workflows/ci_workflows.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
schedule:
7+
# Run every Sunday at 04:53 UTC
8+
- cron: 53 4 * * 0
9+
10+
jobs:
11+
tests:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- os: ubuntu-latest
18+
python-version: 3.6
19+
toxenv: py36-test-pytest46
20+
- os: windows-latest
21+
python-version: 3.6
22+
toxenv: py36-test-pytest50
23+
- os: macos-latest
24+
python-version: 3.7
25+
toxenv: py37-test-pytest51
26+
- os: ubuntu-latest
27+
python-version: 3.7
28+
toxenv: py37-test-pytest52
29+
- os: windows-latest
30+
python-version: 3.8
31+
toxenv: py38-test-pytest53
32+
- os: ubuntu-latest
33+
python-version: 3.8
34+
toxenv: py38-test-pytest60
35+
- os: macos-latest
36+
python-version: 3.9
37+
toxenv: py39-test-pytest61
38+
- os: ubuntu-latest
39+
python-version: 3.9
40+
toxenv: py39-test-pytestdev
41+
42+
steps:
43+
- uses: actions/checkout@v2
44+
with:
45+
fetch-depth: 0
46+
- name: Set up Python ${{ matrix.python-version }}
47+
uses: actions/setup-python@v2
48+
with:
49+
python-version: ${{ matrix.python-version }}
50+
- name: Install Tox
51+
run: python -m pip install tox
52+
- name: Run Tox
53+
run: tox -v -e ${{ matrix.toxenv }}

.travis.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ test will be ignored by this plugin.
8686
Development Status
8787
------------------
8888

89-
.. image:: https://travis-ci.com/astropy/pytest-openfile.svg
90-
:target: https://travis-ci.com/astropy/pytest-openfiles
91-
:alt: Travis CI Status
89+
.. image:: https://github.com/astropy/pytest-openfiles/workflows/CI/badge.svg
90+
:target: https://github.com/astropy/pytest-openfiles/actions
91+
:alt: CI Status
9292

9393
Questions, bug reports, and feature requests can be submitted on `github`_.
9494

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{36,37,38}-test{,-devdeps}
3+
py{36,37,38,39}-test{,-devdeps}
44
codestyle
55
requires =
66
setuptools >= 30.3.0
@@ -17,6 +17,7 @@ deps =
1717
pytest52: pytest==5.2.*
1818
pytest53: pytest==5.3.*
1919
pytest60: pytest==6.0.*
20+
pytest61: pytest==6.1.*
2021
pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
2122

2223
commands =

0 commit comments

Comments
 (0)