Skip to content

WIP: pytest and GitHub Actions #8

WIP: pytest and GitHub Actions

WIP: pytest and GitHub Actions #8

Workflow file for this run

name: Test with pytest
on:
push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install .
- name: Test with pytest
run: |
pwd
ls -al
pytest --cov=src/pybitshred