Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: Test
on:
push:
branches:
- main
jobs:
build-and-publish:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
# Setup Python (faster than using Python container)
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install pipenv
run: |
python -m pip install --upgrade pipenv wheel
- id: cache-pipenv
uses: actions/cache@v1
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
- name: Install dependencies
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: |
pipenv install --deploy --dev
# TODO: create tests!
# - name: Run tests with pytest
# run: pipenv run coverage run --source txtrpacker -m pytest
# - name: Show basic test coverage report
# run: pipenv run coverage report