Skip to content

Commit

Permalink
Merge pull request #2 from gilbertohasnofb/travis_to_ghactions
Browse files Browse the repository at this point in the history
Migrating build check from Travis CI to GitHub Actions
  • Loading branch information
gilbertohasnofb committed Dec 23, 2023
2 parents 6d2ae4f + 3f1ffb9 commit 17288b6
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 10 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
python -m pytest -v
6 changes: 0 additions & 6 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 @@ -31,8 +31,8 @@ and `LilyPond`_.
:target: https://github.com/gilbertohasnofb/auxjad
.. |PyPI| image:: https://img.shields.io/pypi/v/auxjad.svg?style=for-the-badge
:target: https://pypi.python.org/pypi/auxjad
.. |Build| image:: https://img.shields.io/travis/gilbertohasnofb/auxjad?style=for-the-badge
:target: https://app.travis-ci.com/gilbertohasnofb/auxjad
.. |Build| image:: https://img.shields.io/github/actions/workflow/status/gilbertohasnofb/auxjad/github-actions.yml?style=for-the-badge
:target: https://github.com/gilbertohasnofb/auxjad/actions/workflows/github-actions.yml
.. |Python versions| image:: https://img.shields.io/pypi/pyversions/auxjad.svg?style=for-the-badge
:target: https://www.python.org/downloads/release/python-390/
.. |License| image:: https://img.shields.io/badge/license-MIT-blue?style=for-the-badge
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Each member of this library is individually documented in the `Auxjad API`_ page
:target: https://github.com/gilbertohasnofb/auxjad
.. |PyPI| image:: https://img.shields.io/pypi/v/auxjad.svg?style=for-the-badge
:target: https://pypi.python.org/pypi/auxjad
.. |Build| image:: https://img.shields.io/travis/gilbertohasnofb/auxjad?style=for-the-badge
:target: https://app.travis-ci.com/gilbertohasnofb/auxjad
.. |Build| image:: https://img.shields.io/github/actions/workflow/status/gilbertohasnofb/auxjad/github-actions.yml
:target: https://github.com/gilbertohasnofb/auxjad/actions/workflows/github-actions.yml?style=for-the-badge
.. |Python versions| image:: https://img.shields.io/pypi/pyversions/auxjad.svg?style=for-the-badge
:target: https://www.python.org/downloads/release/python-390/
.. |License| image:: https://img.shields.io/badge/license-MIT-blue?style=for-the-badge
Expand Down

0 comments on commit 17288b6

Please sign in to comment.