Skip to content

rename scaffold class names to be more descriptive #3

rename scaffold class names to be more descriptive

rename scaffold class names to be more descriptive #3

Workflow file for this run

name: Python3.10 CI with Basic Tests
on:
push:
branches:
- '**' # all branches
- '!dev' # except dev
- '!main' # except main
- '!gh_pages' # except gh_pages
env:
QSPPRED_TEST_EXTRAS: false
QSPRPRED_VERBOSE_LOGGING: true
jobs:
tests-basic:
runs-on: ubuntu-latest
timeout-minutes: 120
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Cache Python Environment
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('**/pyproject.toml') }}
# restore-keys: |
# ${{ runner.os }}-pip-
- name: Set Up Dependencies
run: |
source .github/setup.sh ${{ runner.os }} $env
- name: Check Environment Info
run: |
echo "Clustal Omega version: $(clustalo --version)"
echo "MAFFT version: $(mafft --version)"
python -m pip freeze
python -c "print('Python version: ' + '$(python --version)')"
python -c "import platform; print('System info: ', platform.system(), platform.release())"
python -c "import qsprpred; print('QSPRpred version:', qsprpred.__version__)"
- name: Run pytest
run: cd testing/test_pytest && ./run.sh
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: 'testing/test_pytest/test_report.xml'
- name: Test CLI
run: cd testing/test_cli && ./run.sh
- name: Test Consistency
run: cd testing/test_consistency && ./run.sh