Skip to content

Merge branch 'main' of https://github.com/harmonydata/harmonyapi #85

Merge branch 'main' of https://github.com/harmonydata/harmonyapi

Merge branch 'main' of https://github.com/harmonydata/harmonyapi #85

Workflow file for this run

name: Test Pypi package
on:
push:
branches:
- main
paths-ignore:
- README.md
pull_request:
branches:
- main
paths-ignore:
- README.md
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.10.11]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Delete unwanted tests
run: rm tests/*selenium* tests/*local*
- name: Test with pytest
run: |
pip install pytest
pytest tests