Skip to content

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldoakes committed Nov 11, 2022
1 parent 20805f4 commit 611489c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 30 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
node-version: '16.x'
- run: npm install
- uses: ply-ct/ply-action@v1.2.0
- uses: ply-ct/ply-action@v1.2.1
```
This example runs all Ply tests and fails if they don't succeed.
Expand All @@ -44,7 +44,7 @@ able to retrieve their workflow build status. The question mark at the end of th
## Private repositories
Private repositories can use ply-action as in the example above, but to include a badge some additional configuration is needed:
```yaml
- uses: ply-ct/ply-action@v1.2.0
- uses: ply-ct/ply-action@v1.2.1
with:
github-token: ${{ secrets.MY_GITHUB_TOKEN }}
badge-branch: badge
Expand All @@ -62,7 +62,7 @@ If you've already integrated Ply CLI commands into a GitHub workflow (say with c
skip Ply test execution altogether, and use ply-action simply to perform a badge commit based on the results of previous Ply CLI run.
In that case, specify the path to an overall Ply results file created using the `--resultFile` [CLI arg](https://ply-ct.org/ply/topics/config):
```yaml
- uses: ply-ct/ply-action@v1.2.0
- uses: ply-ct/ply-action@v1.2.1
with:
ply-path: node_modules/ply-ct/dist
result-file: test/api/results/actual/ply-results.json
Expand All @@ -76,7 +76,7 @@ In that case, specify the path to an overall Ply results file created using the
| ------------ | -------------------------| ------------------------------------------------------------------------------------------------------|
| plyees | (all ply tests) | Glob pattern(s) for requests/flows/cases |
| cwd | . | Working directory for ply execution |
| ply-path | (embedded ply) | Path to ply package when installed as dependency (eg: (eg: node_modules/@ply-ct/ply/dist)) |
| ply-path | (embedded ply) | Path to ply package when installed as dependency (eg: node_modules/@ply-ct/ply/dist) |
| result-file | | Result file in case Ply tests were already run in a previous workflow/job |
| badge-branch | | Branch to contain status badge (eg: "badge"). Needed to display Ply badge for private repositories. |
| badge-path | ply-badge.svg | Save badge to this file path (relative to repo root). Only used with badge-branch. |
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
required: false
default: '.'
ply-path:
description: 'Path to ply package (eg: node_modules/@ply-ct/ply/dist)'
description: 'Path to ply package (eg: node_modules/@ply-ct/ply/dist). Defaults to embedded ply.'
required: false
result-file:
description: Result file in case Ply tests were already run in a previous workflow/job
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ply-action",
"version": "1.2.0",
"version": "1.2.1",
"description": "Ply GitHub Action",
"main": "index.js",
"keywords": [
Expand Down

0 comments on commit 611489c

Please sign in to comment.