Skip to content

Commit

Permalink
resurrecting v1 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeseda committed Sep 11, 2023
1 parent 82c2e84 commit 731860f
Show file tree
Hide file tree
Showing 9 changed files with 414 additions and 367 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ 14, 16, 18, 20 ]
os: [ ubuntu-latest ]
# os: [ windows-latest, ubuntu-latest, macOS-latest ]
node-version: [ 16, 18, 20 ]
os: [ windows-latest, ubuntu-latest, macOS-latest ]

steps:
- name: Check out repo
Expand All @@ -26,7 +25,7 @@ jobs:
- name: Notify
uses: sarisia/actions-status-discord@v1
# Only fire alert once
if: github.ref == 'refs/heads/main' && failure() && matrix.node-version == '14.x' && matrix.os == 'ubuntu-latest'
if: github.ref == 'refs/heads/main' && failure()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "build and test"
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- ## [Unreleased] -->
## [Unreleased]

### Changed

- ⚠️ `tap-arc` will no longer exit(1) when test count is 0. Suites may only emit failures, assuming PASS if 0 tests.

## [0.3.5] - 2022-07-11

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

## Installation & Usage

> Compatible with Node.js 14+.
> Compatible with Node.js 16+.
Save `tap-arc` as a development dependency:

Expand Down
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import minimist from 'minimist'

Check failure on line 2 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 2 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 2 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 3 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 3 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 3 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'
import helpText from './src/_help-text.js'

Check failure on line 4 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 4 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 4 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'
import tapArc from './src/arc-tap.js'
import tapArc from './src/tap-arc.js'

Check failure on line 5 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 5 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 5 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 6 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 6 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 6 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'
const alias = {

Check failure on line 7 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 7 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 7 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'
help: [ 'h', 'help' ],

Check failure on line 8 in index.js

View workflow job for this annotation

GitHub Actions / build (16, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 8 in index.js

View workflow job for this annotation

GitHub Actions / build (18, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'

Check failure on line 8 in index.js

View workflow job for this annotation

GitHub Actions / build (20, windows-latest)

Expected linebreaks to be 'LF' but found 'CRLF'
Expand All @@ -22,9 +22,8 @@ if (options.help) {
process.exit()
}

const parser = tapArc(options, (error, result) => {
const parser = tapArc(options, (_error, result) => {
process.exit(result.ok ? 0 : 1)
// process.exit(result.ok && result.count > 0 ? 0 : 1)
})

process.stdin.pipe(parser)
Loading

0 comments on commit 731860f

Please sign in to comment.