Skip to content

bump version

bump version #99

Workflow file for this run

name: build
on:
push:
# branches: [$default-branch]
branches: ["master"]
tags: ["*"]
pull_request:
# branches: [$default-branch]
branches: ["master"]
jobs:
# https://srz-zumix.blogspot.com/2019/10/github-actions-ci-skip.html
prepare:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: echo "[skip ci] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"
- run: echo "[github.ref] ${{ github.ref }}"
build:
needs: ["prepare"]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- name: Install dependencies
run: |
poetry install --only main,test --no-interaction
- name: Test with pytest
run: |
poetry run pytest --cov --cov-report=term --cov-report=json -v
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ozekik/plateaukit