Skip to content

Commit

Permalink
test: R.I.P. appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelzhang committed Dec 20, 2024
1 parent de3cabe commit 8e378e9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 36 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20.x]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,12 @@
<th>Downloads</th>
</tr>
</thead><tbody><tr>
<td colspan="2" align="center">
<td colspan="3" align="center">
<a href="https://github.com/kaelzhang/node-ignore/actions/workflows/nodejs.yml">
<img
src="https://github.com/kaelzhang/node-ignore/actions/workflows/nodejs.yml/badge.svg"
alt="Build Status" /></a>
</td>
<td align="center">
<a href="https://ci.appveyor.com/project/kaelzhang/node-ignore">
<img
src="https://ci.appveyor.com/api/projects/status/github/kaelzhang/node-ignore?branch=master&svg=true"
alt="Windows Build Status" /></a>
</td>
<td align="center">
<a href="https://codecov.io/gh/kaelzhang/node-ignore">
<img
Expand Down
22 changes: 0 additions & 22 deletions appveyor.yml

This file was deleted.

4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,9 @@ if (

// 'C:\\foo' <- 'C:\\foo' has been converted to 'C:/'
// 'd:\\foo'
const REGIX_IS_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i
const REGEX_TEST_WINDOWS_PATH_ABSOLUTE = /^[a-z]:\//i
checkPath.isNotRelative = path =>
REGIX_IS_WINDOWS_PATH_ABSOLUTE.test(path)
REGEX_TEST_WINDOWS_PATH_ABSOLUTE.test(path)
|| isNotRelative(path)
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:ts": "node ./test/ts/simple.js",
"tap": "tap --reporter classic",
"test:git": "npm run tap test/git-check-ignore.test.js",
"test:ignore": "npm run tap test/ignore.js",
"test:ignore": "npm run tap test/ignore.test.js",
"test:ignore:only": "IGNORE_ONLY_IGNORES=1 npm run tap test/ignore.test.js",
"test:others": "npm run tap test/others.test.js",
"test:cases": "npm run tap test/*.test.js -- --coverage",
Expand Down
2 changes: 1 addition & 1 deletion test/ignore.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ cases(({
return
}

check('IGNORE_ONLY_WIN32')
check('IGNORE_ONLY_WIN32', 'filter')
&& tt(`win32: .filter(): ${description}`, t => {
const win_paths = paths.map(make_win32)

Expand Down

0 comments on commit 8e378e9

Please sign in to comment.