1
0
Fork 0
mirror of synced 2024-11-15 13:38:58 -05:00
ultimate-vim/sources_non_forked/mru.vim/.github/workflows/coverage.yml

40 lines
992 B
YAML
Raw Normal View History

2022-05-19 11:12:17 -04:00
name: coverage
on: [push, pull_request]
jobs:
linux:
name: linux
runs-on: ubuntu-18.04
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Run Tests
run: |
uname -a
export MRU_PROFILE=1
export VIMPRG=vim
$VIMPRG --version
cd ./test
./run_mru_tests.sh
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.5
- name: Install covimerage
run: |
pip install covimerage
covimerage --version
- name: Run covimerage
run: |
cd ./test
covimerage write_coverage mru_profile.txt
- name: Take coverage
run: |
cd ./test
coverage report
coverage xml
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./test/coverage.xml