项目作者: inspirehep

项目描述 :
The INSPIRE repo.
高级语言: Python
项目地址: git://github.com/inspirehep/inspire-next.git
创建时间: 2013-12-16T09:11:58Z
项目社区:https://github.com/inspirehep/inspire-next

开源协议:GNU General Public License v3.0

下载


INSPIRE-Next

About

INSPIRE is the leading information platform for High Energy Physics (HEP) literature.
It provides users with high quality, curated metadata covering the entire corpus of
HEP and the fulltext of all such articles that are Open Access.

This repository contains the source code of the next version of INSPIRE, which is
slowly being deprecated.
It is based on version 3 of the Invenio Digital Library Framework.

A preliminary version of the documentation is available on Read the Docs.

Running tests

  1. only needs to be run once, or when the dependencies change
    1. docker compose -f services.yml build --force-rm base
  2. Spin up next
    1. docker compose -f docker-compose.test.yml up test-database test-indexer test-rabbitmq test-redis test-web test-worker
  3. On the worker container run scripts/clear_pycache (optional)
  4. On the worker container run pytest ...
  1. pytest tests/integration/workflows # workflows
  2. pytest tests/integration --ignore tests/integration/workflows # sync integration tests
  3. pytest tests/integration_async # async integration tests
  4. pytest tests/unit # unit tests