Skip to content

Commit 06e5f93

Browse files
committed
Use GitHub Actions
1 parent bcef73f commit 06e5f93

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test suite
2+
3+
on: [push]
4+
5+
jobs:
6+
unit_tests:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
max-parallel: 8
10+
matrix:
11+
os: [ubuntu-18.04, macos-10.15]
12+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install
20+
run: |
21+
[[ $(uname) == Linux ]] && sudo apt-get install --no-install-recommends python3-openssl python3-lxml
22+
pip install coverage wheel
23+
make install
24+
- name: Test
25+
run: |
26+
make test
27+
- name: Upload coverage data
28+
run: |
29+
bash <(curl -s https://codecov.io/bash)

.travis.yml

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

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ License
178178
-------
179179
Licensed under the terms of the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.
180180

181-
.. image:: https://img.shields.io/travis/XML-Security/signxml.svg
182-
:target: https://travis-ci.org/XML-Security/signxml
181+
.. image:: https://github.com/XML-Security/signxml/workflows/Test%20suite/badge.svg
182+
:target: https://github.com/XML-Security/signxml/actions
183183
.. image:: https://codecov.io/github/XML-Security/signxml/coverage.svg?branch=master
184184
:target: https://codecov.io/github/XML-Security/signxml?branch=master
185185
.. image:: https://img.shields.io/pypi/v/signxml.svg

0 commit comments

Comments
 (0)