mirror of
https://github.com/kristoferssolo/bunyan-formatter.git
synced 2025-10-21 17:20:35 +00:00
ci(actions): add github actions
This commit is contained in:
parent
6f41a6cf9d
commit
c62b284c56
26
.github/workflows/tox.yaml
vendored
Normal file
26
.github/workflows/tox.yaml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
name: Run Tox
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Test with ${{ matrix.python-version }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
max-parallel: 4
|
||||||
|
matrix:
|
||||||
|
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: ${{ matrix.python-version }}
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install tox tox-gh-actions
|
||||||
|
- name: Run Tox
|
||||||
|
env:
|
||||||
|
TOXENV: py${{ matrix.python-version }}
|
||||||
|
run: tox
|
||||||
@ -1,10 +1,10 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "bunyan-formatter"
|
name = "bunyan-formatter"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
description = "Bunyan Formatter for Python"
|
description = "Bunyan Formatter for Python"
|
||||||
dependencies = []
|
dependencies = []
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.9"
|
||||||
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
|
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user