Skip to content

Commit

Permalink
Merge pull request #59 from pexpect/packaging-ci-update
Browse files Browse the repository at this point in the history
Switch CI to Github actions
  • Loading branch information
takluyver authored Dec 28, 2020
2 parents 3931cd4 + a73c96b commit 544854d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.5, 3.6, 3.7, 3.8, 3.9, 2.7 ]
steps:
- uses: actions/checkout@v2

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install pytest
- name: Run tests
run: pytest -v
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["flit"]
build-backend = "flit.buildapi"
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"

[tool.flit.metadata]
module = "ptyprocess"
Expand Down

0 comments on commit 544854d

Please sign in to comment.