Skip to content

updata datareader for new rigaku xrd #77

updata datareader for new rigaku xrd

updata datareader for new rigaku xrd #77

Workflow file for this run

name: CI tests
on:
pull_request:
push:
branches:
- master
- 'push-action/**'
# Cancel running workflows when additional changes are pushed
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
pytest:
runs-on: ubuntu-latest
defaults:
run:
# Must be added for the conda/mamba shell integration to work
shell: bash -el {0}
strategy:
fail-fast: false
max-parallel: 4
matrix:
python-version: ['3.8']
services:
mongo:
image: mongo:4
ports:
- 27017:27017
steps:
- uses: actions/checkout@v2
- name: Install OS deps
run: |
sudo apt install -y subversion
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
use-mamba: true
mamba-version: "*"
activate-environment: test
channels: conda-forge,defaults
channel-priority: true
- name: Setup conda environment with dependencies
run: |
python --version
mamba install -c conda-forge libgfortran4
pip install --upgrade pip
pip install -U setuptools wheel
pip install -e .
- name: Run simple import test from outside package dir
working-directory: /
run: |
python -c "import Xerus"
- name: Run all tests
run: pytest -rs -vvv -m "not user"