Skip to content

Change exit code to 0 on failure #13

Change exit code to 0 on failure

Change exit code to 0 on failure #13

Workflow file for this run

name: Test
on:
push:
branches-ignore: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.x"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Build
shell: bash
run: |
python -V
pip install -U pip setuptools wheel build pycodestyle
python -m build --sdist --wheel --outdir dist/ .
pip install .
- name: Test
shell: bash
run: |
pycodestyle --max-line-length=120 ppslack
python -m ppslack --version
python -m ppslack --help
ppslack --version
ppslack --help