Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
options: >-
--health-cmd pg_isready --health-interval 5s --health-timeout 5s --health-retries 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: shellcheck
run: shellcheck -S warning lib/pgrun-ci tests/*.sh
- name: python syntax
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ On every pull request, PGRun CI:

Your production database is never touched, and pull request code never sees a production credential.

> Status: **v1 in review**. Rails is the first supported framework.
> Status: **v1**. Rails is the first supported framework.

## Production-like CI in 3 steps

Expand Down Expand Up @@ -45,14 +45,16 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: pgrundev/ci-action@v1
with:
token: ${{ secrets.PGRUN_API_TOKEN }}
mode: production-like
```

`@v1` follows the latest v1 release. To pin an exact, immutable version instead, use the release's full commit SHA, which the [release page](https://github.com/pgrundev/ci-action/releases) lists: `uses: pgrundev/ci-action@<full commit sha> # v1.0.0`. See [versioning](docs/versioning.md).

That's all. There are no scripts to copy, no Ruby helpers and no database configuration.

## What runs on every pull request
Expand Down
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: PGRun CI
description: >-
Test every pull request against its own disposable, production-like
PostgreSQL database: sanitized production data on a copy-on-write PGX
branch, migrations and data-loss checks, automatic cleanup.
Per-PR production-like PostgreSQL: a sanitized copy-on-write branch,
migration and data-loss checks, automatic cleanup.
author: PGRun
branding:
icon: database
Expand Down
2 changes: 0 additions & 2 deletions docs/example-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,3 @@ pgrun: 2 test files in 2 groups (by file size)
1 runs, 3 assertions, 0 failures, 0 errors, 0 skips
pgrun: deleted 2 branch(es) in 1000 ms
```

A screenshot from a real GitHub-hosted run will be added when v1.0.0 is published.
Loading