Skip to content

Commit 3818583

Browse files
authored
Enable automated testing (#9)
1 parent 10554ce commit 3818583

3 files changed

Lines changed: 19 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
strategy:
6+
matrix:
7+
pg: [17, 16, 15, 14, 13, 12, 11, 10]
8+
name: 🐘 PostgreSQL ${{ matrix.pg }}
9+
runs-on: ubuntu-latest
10+
container: pgxn/pgxn-tools
11+
steps:
12+
- name: Start PostgreSQL ${{ matrix.pg }}
13+
run: pg-start ${{ matrix.pg }}
14+
- name: Check out the repo
15+
uses: actions/checkout@v4
16+
- name: Test on PostgreSQL ${{ matrix.pg }}
17+
run: pg-build-test

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ A system for managing unit test data in Postgres.
55

66
Documentation for the most recent version is on [PGXN](http://pgxn.org/dist/test_factory/doc/test_factory.html).
77

8-
Current Status
9-
==============
10-
You can see the current status of *released* versions of this extension on [PGXN-tester](http://pgxn-tester.org/distributions/test_factory).
11-
12-
Travis-CI status: [![Build Status](https://travis-ci.org/BlueTreble/test_factory.png)](https://travis-ci.org/BlueTreble/test_factory)
8+
[![PGXN version](https://badge.fury.io/pg/test_factory.svg)](https://badge.fury.io/pg/test_factory)
9+
[![🐘 Postgres](https://github.com/decibel/test_factory/actions/workflows/ci.yml/badge.svg)](https://github.com/decibel/test_factory/actions/workflows/ci.yml)
1310

1411
Easy Installation
1512
=================

0 commit comments

Comments
 (0)