Skip to content

Commit

Permalink
Use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Jun 8, 2020
1 parent bcef73f commit 06e5f93
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test suite

on: [push]

jobs:
unit_tests:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
matrix:
os: [ubuntu-18.04, macos-10.15]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
[[ $(uname) == Linux ]] && sudo apt-get install --no-install-recommends python3-openssl python3-lxml
pip install coverage wheel
make install
- name: Test
run: |
make test
- name: Upload coverage data
run: |
bash <(curl -s https://codecov.io/bash)
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ License
-------
Licensed under the terms of the `Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0>`_.

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

0 comments on commit 06e5f93

Please sign in to comment.