Merge pull request #169 from pyscal/update_ontology #386
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: testing | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: ['3.10', '3.11'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
mamba-version: "*" | |
activate-environment: rdf | |
environment-file: environment.yml | |
python-version: ${{ matrix.python-version }} | |
- name: run tests | |
shell: bash -l {0} | |
run: | | |
pip install -e . | |
pip install pytest | |
pip install pytest-cov | |
#pytest tests/ | |
pytest --cov-report=xml --cov=atomrdf tests/ | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: pyscal/atomRDF |