Skip to content

Commit ed81c23

Browse files
authored
Consolidate on GitHub actions (#168)
* Add workflow LibraryOfCongress/tests-bagit-python * GH Actions: rename workflow file * README: remove old build status badge * Update developer dependencies
1 parent e831c74 commit ed81c23

File tree

5 files changed

+149
-95
lines changed

5 files changed

+149
-95
lines changed

.github/workflows/coveralls.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: LibraryOfCongress/tests-bagit-python
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
test:
6+
runs-on: ubuntu-16.04
7+
steps:
8+
- name: checkout
9+
uses: actions/[email protected]
10+
- uses: actions/[email protected]
11+
with:
12+
python-version: "${{ matrix.python }}"
13+
- run: apt-get -y install gettext
14+
- run: pip install --upgrade pip
15+
- run: pip install coveralls coverage
16+
- run: coverage run --include=bagit.py setup.py test
17+
- run: coveralls
18+
if: "${{ success() }}"
19+
strategy:
20+
matrix:
21+
python:
22+
- '3.10'

.travis.yml

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

Pipfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@ name = "pypi"
88
[dev-packages]
99
tox = "*"
1010
black = "*"
11-
"flake8" = "*"
11+
flake8 = "*"
1212
isort = "*"
13-
14-
[pipenv]
15-
allow_prereleases = true

Pipfile.lock

Lines changed: 126 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,6 @@ License
267267
Note: By contributing to this project, you agree to license your work
268268
under the same terms as those that govern this project's distribution.
269269

270-
.. |Build Status| image:: https://travis-ci.org/LibraryOfCongress/bagit-python.svg?branch=master
271-
:target: http://travis-ci.org/LibraryOfCongress/bagit-python
272270
.. |Coverage Status| image:: https://coveralls.io/repos/github/LibraryOfCongress/bagit-python/badge.svg?branch=master
273271
:target: https://coveralls.io/github/LibraryOfCongress/bagit-python?branch=master
274272
.. |cc0| image:: http://i.creativecommons.org/p/zero/1.0/88x31.png

0 commit comments

Comments
 (0)