Skip to content

Update README.md to refer to python-bibx (#18) #21

Update README.md to refer to python-bibx (#18)

Update README.md to refer to python-bibx (#18) #21

Workflow file for this run

name: Calculate test coverage
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.12"
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov
- name: Run tests
run: |-
pytest --cov=wosfile --cov-report xml:coverage.xml --cov-report term
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml