mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
chore: add back codecov reports
This commit is contained in:
parent
c7068d2dee
commit
fcf6f37d5b
1 changed files with 10 additions and 4 deletions
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -3,10 +3,10 @@ name: CI Tests
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- main
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tmate_debug_enabled:
|
||||
|
@ -24,8 +24,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
python-version: ["3.7", "3.8", "3.9","3.10" ]
|
||||
os: [ ubuntu-latest, macOS-latest, windows-latest ]
|
||||
python-version: [ "3.7", "3.8", "3.9","3.10" ]
|
||||
name: Test Python ${{ matrix.python-version }} ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -59,3 +59,9 @@ jobs:
|
|||
run: |
|
||||
python -m pip install -e . --no-deps
|
||||
python -m xonsh run-tests.xsh test --report-coverage --no-amalgam -- --timeout=240
|
||||
- name: Upload coverage to Codecov
|
||||
if: ${{ startsWith(matrix.python-version, '3.10') }}
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
verbose: true
|
||||
flags: ${{ matrix.os }}
|
||||
|
|
Loading…
Add table
Reference in a new issue