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
41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test

on: [push, pull_request, workflow_dispatch]

env:
FORCE_COLOR: 1

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
os: [windows-latest, macos-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: latest

- name: Install pytracery
run: |
uv venv
uv pip install -e .

- name: Test
run: |
uvx coverage run --source=tracery,tests -m unittest tests/test_*.py
uvx coverage report
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Tracery for Python
==================

.. image:: https://img.shields.io/travis/aparrish/pytracery.svg
:target: https://travis-ci.org/aparrish/pytracery
.. image:: https://github.com/aparrish/pytracery/actions/workflows/test.yml/badge.svg
:target: https://github.com/aparrish/pytracery/actions/workflows/test.yml

This is a (rough) port of `Kate Compton <http://www.galaxykate.com/>`_'s
wonderful `Tracery <http://tracery.io/>`_ to Python. The port
Expand Down