Skip to content

test: add Rana tests. #11

test: add Rana tests.

test: add Rana tests. #11

Workflow file for this run

name: pytest
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with coverage
run: |
python -m pytest --cov --cov-report=html
tar czf htmlcov.tar.gz htmlcov/
- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
name: htmlcov
path: htmlcov.tar.gz