Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to github actions #52

Merged
merged 1 commit into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.6"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r test-requirements.txt -r docs-requirements.txt
lydia-duncan marked this conversation as resolved.
Show resolved Hide resolved
- name: Lint
run: flake8 sphinxcontrib/
- name: Test
run: nosetests --verbose --with-cov --cov-report xml --cover-package=sphinxcontrib.chapeldomain
- name: Make docs
run: |
( export PYTHONPATH=`pwd` && cd docs/ && make html )
( export PYTHONPATH=`pwd` && cd doc-test/ && make html )
- name: Codecode
uses: codecov/codecov-action@v2
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Chapel_ domain for Sphinx_.
.. _Chapel: http://chapel-lang.org/
.. _Sphinx: http://sphinx-doc.org/

.. image:: https://travis-ci.org/chapel-lang/sphinxcontrib-chapeldomain.svg?branch=master
:target: https://travis-ci.org/chapel-lang/sphinxcontrib-chapeldomain
.. image:: https://github.com/chapel-lang/sphinxcontrib-chapeldomain/actions/workflows/CI.yml/badge.svg
:target: https://github.com/chapel-lang/sphinxcontrib-chapeldomain/actions/workflows/CI.yml

.. image:: https://coveralls.io/repos/chapel-lang/sphinxcontrib-chapeldomain/badge.svg?branch=master
:target: https://coveralls.io/r/chapel-lang/sphinxcontrib-chapeldomain?branch=master
.. image:: https://codecov.io/gh/chapel-lang/sphinxcontrib-chapeldomain/branch/master/graph/badge.svg
:target: https://codecov.io/gh/chapel-lang/sphinxcontrib-chapeldomain

`Package documentation`_ is available on readthedocs.org.

Expand Down
6 changes: 3 additions & 3 deletions docs/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Overview
Testing
-------

Travis_ runs the tests automically and records code coverage in Coveralls_. On
`Github Actions`_ runs the tests automically and records code coverage in Codecov_. On
a local workstation, tox_ can be used to run the tests in a similar fashion.

.. code-block:: bash
Expand All @@ -38,8 +38,8 @@ a local workstation, tox_ can be used to run the tests in a similar fashion.
tox -e docs # verify the docs build
tox -e doc-test # verify the acceptance tests build
.. _Travis: https://travis-ci.org/chapel-lang/sphinxcontrib-chapeldomain
.. _Coveralls: https://coveralls.io/r/chapel-lang/sphinxcontrib-chapeldomain?branch=master
.. _Github Actions: https://github.com/chapel-lang/sphinxcontrib-chapeldomain/actions/workflows/CI.yml
.. _Codecov: https://codecov.io/gh/chapel-lang/sphinxcontrib-chapeldomain
.. _tox: https://tox.readthedocs.org/en/latest/

Release
Expand Down
1 change: 0 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
coveralls
flake8
mock
nose
Expand Down