1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 01:28:56 +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: | run: |
flake8 flake8
- name: Test - name: Test
if: ${{ matrix.os != 'ubuntu-latest' || matrix.pyversion != '3.8' }}
run: | run: |
python -m coverage run --source=thefuck,tests -m py.test -v --capture=sys tests 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' }} if: ${{ matrix.os == 'ubuntu-latest' && matrix.pyversion == '3.8' }}
run: | 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 python -m coveralls