Skip to content

Update readme

Update readme #2

Workflow file for this run

name: Python package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox coverage tox-gh-actions
- name: Run tests with tox
run: tox
- name: Run coverage
run: |
coverage run --source ritpytrading setup.py test
coverage report -m
# Optional: upload coverage to Codecov
coverage:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Install codecov
run: pip install codecov coverage
- name: Upload coverage to Codecov
run: codecov