Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: build

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v6

- name: set up python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: install
run: pip install -e .

- name: test
run: |
python test_pyformat.py
pyformat pyformat.py
python test_acid.py setup.py

pycodestyle pyformat.py
pip install pyflakes
pyflakes pyformat.py

- name: coverage
run: |
pip install coverage
make coverage

- name: Coveralls
uses: coverallsapp/github-action@v2
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
pyformat
========

.. image:: https://travis-ci.org/myint/pyformat.svg?branch=master
:target: https://travis-ci.org/myint/pyformat
.. image:: https://github.com/myint/pyformat/actions/workflows/build.yml/badge.svg
:target: https://github.com/pyformat/actions/actions/workflows/build.yml
:alt: Build status

.. image:: https://coveralls.io/repos/github/myint/pyformat/badge.svg
:target: https://coveralls.io/github/myint/pyformat
:alt: Coverage status

*pyformat* formats Python code to follow a consistent style.


Expand Down