Update shear #308
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-13] | |
python-version: ['3.10', '3.11'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
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/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: pyscal/atomRDF |