Skip to content

Update test.yml

Update test.yml #15

Workflow file for this run

name: Galaxy6DLib pytest runner
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
#python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
cd Galaxy6DLib
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
cd Galaxy6DLib
pip install pytest pytest-cov pytest-datafiles
pytest --doctest-modules --junitxml=junit/test-results.xml ---cov=. --cov-report=html
# pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html