Skip to content

Now the non-recursive function do not produce warning #1489

Now the non-recursive function do not produce warning

Now the non-recursive function do not produce warning #1489

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
jobs:
python-tests:
name: python
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout The Walrus
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov pytest-randomly wheel codecov
- name: Install The Walrus
run: |
pip install -e .
- name: Run tests
run: python3 -m pytest thewalrus --randomly-seed=137 --cov=thewalrus --cov-report term-missing --cov-report=html:coverage_html_report --cov-report=xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
fail_ci_if_error: true