1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

seperate step for functional tests

This commit is contained in:
Divy Jain 2021-01-04 01:23:24 +05:30
parent 8edd9ca744
commit 11024f75ed
No known key found for this signature in database
GPG Key ID: 45ABD8EE0FEC4C0B

View File

@ -25,11 +25,12 @@ jobs:
run: |
flake8
- name: Test
if: ${{ matrix.os != 'ubuntu-latest' || matrix.pyversion != '3.8' }}
run: |
python -m coverage run --source=thefuck,tests -m py.test -v --capture=sys tests
- name: Test with Coverage
- name: Functional Test
if: ${{ matrix.os == 'ubuntu-latest' && matrix.pyversion == '3.8' }}
run: |
python -m coverage run --source=thefuck,tests -m py.test -v --capture=sys tests --enable-functional
python -m coverage run --source=thefuck,tests -m py.test -v --capture=sys tests -m functional
- name: Post Coverage to Coveralls
if: ${{ matrix.os == 'ubuntu-latest' && matrix.pyversion == '3.8' }}
python -m coveralls