Skip to content

[CI] Enable verbose logs for publishing to PyPi #53

[CI] Enable verbose logs for publishing to PyPi

[CI] Enable verbose logs for publishing to PyPi #53

Workflow file for this run

# Based on https://github.com/denkiwakame/py-tiny-pkg/blob/main/.github/workflows/test.yml
name: package
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
install-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13] # MacOS image v14 does not support Python versions 3.8 & 3.9
python-version: ["3.8", "3.9"]
max-parallel: 3
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: confirm pip version
run: pip --version
- name: installation
run: pip install .[dev]
- name: test
run: python -m pytest --cov
editable-install-test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13] # MacOS image v14 does not support Python version 3.8
python-version: ["3.8"]
max-parallel: 3
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} (editable install)
steps:
- uses: actions/checkout@v4
- name: setup-python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: confirm pip version
run: pip --version
- name: installation
run: pip install -e .[dev]
- name: test
run: python -m pytest --cov