Skip to content

DOC: PyPI / conda-forge badge colors #40

DOC: PyPI / conda-forge badge colors

DOC: PyPI / conda-forge badge colors #40

Workflow file for this run

# Based on
# https://github.com/fedarko/pyfastg/blob/master/.github/workflows/main.yml
name: Standalone CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- name: Check out code
uses: actions/checkout@v3
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Cython and NumPy
run: pip install cython "numpy >= 1.12.0"
- name: Install Qurro (and its pip dependencies)
run: pip install -e .[dev]
- name: Install Black, also (no QIIME 2 to worry about conflicts with)
run: pip install "black >= 22.3.0"
- name: Set up Node.js
uses: actions/setup-node@v1
- name: Install Qurro's Node.js development dependencies
run: npm install -g mocha-headless-chrome nyc prettier@2.0.5 jshint
- name: Run tests
run: |
make pytest_standalone
make jstest
- name: Lint and stylecheck (including using Black to check Python code)
run: make stylecheck
# NOTE: For now, we only submit coverage reports from the QIIME 2 CI,
# since the tests that that CI runs are a superset of those ran by this
# "standalone" CI. (Also, Codecov wasn't merging them, which caused
# coverage to be underreported.)
# - name: Upload code coverage information to Codecov
# uses: codecov/codecov-action@v2