Skip to content

Commit

Permalink
Add names to all pr-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Aug 24, 2021
1 parent 50de2e4 commit 88bc9ac
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

jobs:
lint-js:
name: Lint
runs-on: ubuntu-latest

steps:
Expand All @@ -26,10 +27,11 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Check generated JavaScript
- name: Check generated JS
run: .github/workflows/script/check-js.sh

check-node-modules:
name: Check modules up to date
runs-on: macos-latest

steps:
Expand All @@ -38,6 +40,7 @@ jobs:
run: .github/workflows/script/check-node-modules.sh

npm-test:
name: Unit Test
needs: [check-js, check-node-modules]
strategy:
matrix:
Expand All @@ -50,6 +53,7 @@ jobs:
run: npm run-script test

multi-language-repo_test-autodetect-languages:
name: Autodetect language (multi)
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -107,6 +111,7 @@ jobs:
# Packaging test that runs against a javascript database
# Specifying packs in the config file.
test-packaging-javascript-config:
name: Packaging Config JS
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -148,6 +153,7 @@ jobs:
# Packaging test that runs against a javascript database
# Specifying packs as an input.
test-packaging-javascript-inputs:
name: Packaging Inputs JS
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -191,6 +197,7 @@ jobs:
# Packaging test that runs against a javascript database
# Specifying packs in the config file and inputs.
test-packaging-javascript-config-and-inputs:
name: Packaging Inputs and Config JS
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -233,6 +240,7 @@ jobs:
# Tests a split workflow where database construction and query execution happen in different steps
test-split-workflow:
name: Split workflow
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -287,6 +295,7 @@ jobs:
# Identify the CodeQL tool versions to integration test against.
check-codeql-versions:
name: Check CodeQL Versions
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -368,6 +377,7 @@ jobs:
echo "::set-output name=versions::${VERSIONS_JSON}"
multi-language-repo_test-custom-queries-and-remote-config:
name: Remote Config Custom Queries multi-language repo
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
Expand Down Expand Up @@ -399,6 +409,7 @@ jobs:

# Currently is not possible to analyze Go in conjunction with other languages in macos
multi-language-repo_test-go-custom-queries:
name: Go custom queries multi-language repo
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
Expand Down Expand Up @@ -433,6 +444,7 @@ jobs:
TEST_MODE: true

go-custom-tracing:
name: Go custom tracing
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
Expand Down Expand Up @@ -468,6 +480,7 @@ jobs:
TEST_MODE: true

go-custom-tracing-autobuild:
name: Go autobuild custom tracing
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
Expand Down Expand Up @@ -505,6 +518,7 @@ jobs:
# Ruby is in beta, so test it separately for now.
multi-language-repo_test-ruby:
name: Ruby multi-language
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
Expand Down Expand Up @@ -545,6 +559,7 @@ jobs:
fi
multi-language-repo_rubocop:
name: Rubocop multi-language
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -578,6 +593,7 @@ jobs:
TEST_MODE: true

test-proxy:
name: Proxy
needs: [check-js, check-node-modules, check-codeql-versions]
strategy:
fail-fast: false
Expand Down Expand Up @@ -612,6 +628,7 @@ jobs:
TEST_MODE: true

runner-analyze-javascript-ubuntu:
name: Runner ubuntu JS analyze
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -639,6 +656,7 @@ jobs:
TEST_MODE: true

runner-analyze-javascript-windows:
name: Runner windows JS analyze
needs: [check-js, check-node-modules]
runs-on: windows-latest

Expand All @@ -662,6 +680,7 @@ jobs:
TEST_MODE: true

runner-analyze-javascript-macos:
name: Runner macos JS analyze
needs: [check-js, check-node-modules]
runs-on: macos-latest

Expand All @@ -685,6 +704,7 @@ jobs:
TEST_MODE: true

runner-analyze-csharp-ubuntu:
name: Runner ubuntu C# analyze
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -721,6 +741,7 @@ jobs:
TEST_MODE: true

runner-analyze-csharp-windows:
name: Runner windows C# analyze
needs: [check-js, check-node-modules]
runs-on: windows-latest

Expand Down Expand Up @@ -760,6 +781,7 @@ jobs:
TEST_MODE: true

runner-analyze-csharp-macos:
name: Runner macos C# analyze
needs: [check-js, check-node-modules]
runs-on: macos-latest

Expand Down Expand Up @@ -798,6 +820,7 @@ jobs:


runner-analyze-csharp-autobuild-ubuntu:
name: Runner ubuntu autobuild C# analyze
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down Expand Up @@ -833,6 +856,7 @@ jobs:
TEST_MODE: true

runner-analyze-csharp-autobuild-windows:
name: Runner windows autobuild C# analyze
needs: [check-js, check-node-modules]
runs-on: windows-latest

Expand Down Expand Up @@ -869,6 +893,7 @@ jobs:
TEST_MODE: true

runner-analyze-csharp-autobuild-macos:
name: Runner macos autobuild C# analyze
needs: [check-js, check-node-modules]
runs-on: macos-latest

Expand Down Expand Up @@ -905,6 +930,7 @@ jobs:
TEST_MODE: true

runner-upload-sarif:
name: Runner upload sarif
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand All @@ -926,6 +952,7 @@ jobs:
runner/dist/codeql-runner-linux upload --sarif-file src/testdata/empty-sarif.sarif --repository $GITHUB_REPOSITORY --commit $GITHUB_SHA --ref $GITHUB_REF --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }}
multi-language-repo_test-local-codeql:
name: Local codeql multi-language repo
needs: [check-js, check-node-modules, check-codeql-versions]
runs-on: ubuntu-latest

Expand All @@ -946,6 +973,7 @@ jobs:
- uses: ./../action/analyze

test-javascript-source-root:
name: JS source root
needs: [check-js, check-node-modules]
runs-on: ubuntu-latest

Expand Down

0 comments on commit 88bc9ac

Please sign in to comment.