REL/DOC: classifiers, bump vsn, ci ref (#326) #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |