Skip to content

update version

update version #37

Workflow file for this run

name: install xraydb with conda and run test suite
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install conda and dependencies
run: |
conda install numpy scipy sqlalchemy pip pytest pytest-cov codecov coverage
conda info
conda list
- name: Install python library, run tests
run: |
cd python
pip install .
cd tests
python -m pytest --cov=xraydb --cov-report=xml
- name: upload coverage report to codecov
uses: codecov/codecov-action@v2