Skip to content

Commit

Permalink
concepts: add MEF
Browse files Browse the repository at this point in the history
* Adds MEF concepts class.
* Splits serialiazers.
* Adds coveralls to github actions.
* Adds tests to increase test coverage.

Co-Authored-by: Peter Weber <[email protected]>
  • Loading branch information
rerowep committed Oct 28, 2021
1 parent 2570f8e commit c0654a5
Show file tree
Hide file tree
Showing 108 changed files with 28,294 additions and 1,134 deletions.
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[run]
relative_files = True
omit =
rero_mef/cli.py
rero_mef/agents/cli.py
rero_mef/concepts/cli.py
rero_mef/marctojson/logger.py
rero_mef/marctojson/helper.py
rero_mef/marctojson/records.py
rero_mef/marctojson/do_skeleton.py
29 changes: 9 additions & 20 deletions .github/workflows/continuous-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
dependencies: ['development', 'deploy']
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.5.0
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

Expand Down Expand Up @@ -52,31 +52,20 @@ jobs:
if: ${{ matrix.dependencies == 'development' }}
run: |
poetry run bootstrap --ci
pip install --upgrade coveralls
- name: Bootstrap deploy
if: ${{ matrix.dependencies == 'deploy' }}
run: |
poetry run bootstrap --ci --deploy E2E=yes
- name: Update coveralls
run: |
poetry run pip install --upgrade coveralls
- name: Run Test
run: poetry run run-tests

# - name: Upload Coverage ${{ matrix.tests }}
# if: ${{ matrix.dependencies == 'locked' }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_FLAG_NAME: test
# COVERALLS_PARALLEL: true
# run: poetry run coveralls
#
# - name: Finished Coverage ${{ matrix.tests }}
# if: ${{ matrix.dependencies == 'locked' }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# COVERALLS_PARALLEL_FINISHED: true
# run: |
# poetry run coveralls --finish
- name: Coveralls
if: ${{ matrix.dependencies == 'development' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
run: |
coveralls
17 changes: 12 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,21 @@
RERO MEF
==========

.. image:: https://img.shields.io/travis/rero/rero-mef.svg
:target: https://travis-ci.org/rero/rero-mef
.. image:: https://github.com/rero/rero-mef/workflows/build/badge.svg
:alt: Github actions status
:target: https://github.com/rero/rero-mef/actions?query=workflow%3Abuild

.. image:: https://img.shields.io/coveralls/rero/rero-mef.svg
:target: https://coveralls.io/r/rero/rero-mef
:alt: Coveralls
:target: https://coveralls.io/rero/rero-mef

.. image:: https://img.shields.io/github/license/rero/rero-mef.svg
:target: https://github.com/rero/rero-mef/blob/master/LICENSE
.. image:: https://img.shields.io/github/tag/rero/rero-mef.svg
:alt: Release Number
:target: https://github.com/rero/rero-mef/releases/latest

.. image:: https://img.shields.io/badge/License-AGPL%20v3-blue.svg
:alt: License
:target: http://www.gnu.org/licenses/agpl-3.0.html

MEF (Multilingual Entity File) server with records for persons, works, etc. for reuse in integrated library systems (ILS).

Expand Down
Loading

0 comments on commit c0654a5

Please sign in to comment.