Fix mango phytocompounds #1300
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
name: GlobalChem API | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: ["ubuntu-latest", "windows-latest", "macos-latest"] | |
python-version: ["3.10", "3.11", "3.12"] | |
coverage-version: ["5.5"] | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Upgrade pip | |
run: python -m pip install --upgrade pip | |
- name: Install | |
run: | | |
python global_chem/setup.py install | |
pip install python-coveralls | |
pip install coveralls | |
pip install coverage==${{ matrix.coverage-version }} | |
pip install nose | |
- name: Run GlobalChem tests | |
env: | |
GITHUB_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
run: | | |
cd global_chem | |
python -m nose --verbose --with-coverage -s -w tests/ |