Skip to content

Commit fe5d42b

Browse files
authored
Merge pull request #19040 from github/run-lint-files-separately
Run lint-files test separately and test fewer developer redirects
2 parents 77756f2 + 4d7674e commit fe5d42b

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
test-group: [content, graphql, meta, rendering, routing, unit]
26+
test-group: [content, graphql, meta, rendering, routing, unit, linting]
2727
steps:
2828
- name: Check out repo
2929
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
test-group: [content, graphql, meta, rendering, routing, unit]
28+
# The same array lives in test-windows.yml, so make any updates there too.
29+
test-group: [content, graphql, meta, rendering, routing, unit, linting]
2930
steps:
3031
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
3132
# Even if if doesn't do anything

tests/routing/top-developer-site-path-redirects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('developer.github.com redirects', () => {
1515
]
1616

1717
// test a subset of the top paths
18-
const pathsToCheck = 300
18+
const pathsToCheck = 50
1919
const paths = require('../fixtures/top-old-developer-site-paths.json')
2020
.filter(path => !ignoredPatterns.some(pattern => path.match(pattern)))
2121
.slice(0, pathsToCheck)

0 commit comments

Comments
 (0)