Skip to content

Update sample

Update sample #379

Workflow file for this run

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/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pyscal/atomRDF