Skip to content

Implement peek command #56

Implement peek command

Implement peek command #56

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-14]
python-version: ['3.9', '3.10', '3.11', '3.12']
exclude:
- python-version: '3.9'
os: macos-14
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Build
run: python -m build
- name: Install on Unix
if: matrix.os != 'windows-latest'
run: pip install dist/*.whl
- name: Install on Windows
if: matrix.os == 'windows-latest'
run: pip install (Get-ChildItem dist/*.whl)
- name: Test
run: python -m unittest
- name: Generate Coverage Report
run: |
coverage run --source coredumpy --parallel-mode -m unittest
coverage combine
coverage xml -i
env:
COVERAGE_RUN: True
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: gaogaotiantian/coredumpy
file: ./coverage.xml