Skip to content

PySoftK-testing

PySoftK-testing #11

Workflow file for this run

name: "PySoftK-testing"
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.9, 3.10.1]
name: Python ${{ matrix.python-version }} example on ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: myenv
channels: conda-forge, anaconda
miniconda-version: "latest"
- name: Installation xtb
run: |
conda install conda-forge::xtb
- name: Installing PySoftK
shell: bash
run: |
python -m pip install wheel --user
python -m pip install setuptools --upgrade --user
python -m pip install . --user
- name: Run PySoftK test
working-directory: ./test/test_pysoftk
run: |
python -m pip install pytest pytest-cov --user
python -m pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=pysoftk | tee pytest-coverage.txt