Skip to content

dev version

dev version #133

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Unit Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install coveralls
- name: Unit test
run: coverage run --source unicorn_binance_rest_api unittest_binance_rest_api.py
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v3
with:
flags: unittests
name: codecov-umbrella
verbose: true