Skip to content

Commit

Permalink
Merge branch 'master' into 0.10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Jul 28, 2021
2 parents afbdb31 + 1f3917c commit a0f8e26
Show file tree
Hide file tree
Showing 4 changed files with 395 additions and 277 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/app_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: App Tests

on:
push: {}
pull_request:
branches:
- master

jobs:
run_app_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install dependencies
run: pip install -r requirements_web.txt
- name: Install PyTest
run: pip install pytest
- name: Install BioThings 0.10.x branch # FIXME
run: pip install git+https://github.com/biothings/biothings.api.git@0.10.x#egg=biothings
- name: Run App Tests
run: pytest test_apptests.py
working-directory: src/tests
services:
Elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.3
env:
"discovery.type" : single-node
ports:
- 9200:9200
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# MyChem.info API
[![App Tests](https://github.com/biothings/mychem.info/actions/workflows/app_tests.yml/badge.svg)](https://github.com/biothings/mychem.info/actions/workflows/app_tests.yml)

[MyChem.info](https://mychem.info) provides a high-performance API for up-to-date annotations/knowledge about individual chemicals and drugs. It's part of [BioThings API](http://biothings.io) collection, together with [MyGene.info](https://mygene.info), [MyVariant.info](https://myvariant.info) and [more](https://biothings.io/).

0 comments on commit a0f8e26

Please sign in to comment.