Fix currency not found errors in NOWPayments class and test cases #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeCov | |
on: push | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
env: | |
OS: ubuntu-latest | |
PYTHON: '3.9' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: 'Generate Report' | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
coverage run -m pytest | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: pytest | |
fail_ci_if_error: true |