Skip to content

Commit 9674ae4

Browse files
Splits integration tests
1 parent b6a05d4 commit 9674ae4

File tree

4 files changed

+86
-8
lines changed

4 files changed

+86
-8
lines changed

.github/workflows/__analyze-ref-input.yml

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__ref-commit-input.yml renamed to .github/workflows/__upload-ref-sha-input.yml

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Analyze: 'ref' and 'sha' from inputs"
2+
description: "Checks that specifying 'ref' and 'sha' as inputs works"
3+
steps:
4+
- uses: ./../action/init
5+
with:
6+
tools: ${{ steps.prepare-test.outputs.tools-url }}
7+
languages: cpp,csharp,java,javascript,python
8+
config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{ github.sha }}
9+
- name: Build code
10+
shell: bash
11+
run: ./build.sh
12+
- uses: ./../action/analyze
13+
with:
14+
ref: 'refs/heads/main'
15+
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
16+
env:
17+
TEST_MODE: true

pr-checks/checks/ref-commit-input.yml renamed to pr-checks/checks/upload-ref-sha-input.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "'ref' and 'sha' from inputs"
1+
name: "Upload-sarif: 'ref' and 'sha' from inputs"
22
description: "Checks that specifying 'ref' and 'sha' as inputs works"
33
steps:
44
- uses: ./../action/init
@@ -13,13 +13,12 @@ steps:
1313
with:
1414
ref: 'refs/heads/main'
1515
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
16-
category: 'analyze'
16+
upload: false
1717
env:
1818
TEST_MODE: true
1919
- uses: ./../action/upload-sarif
2020
with:
2121
ref: 'refs/heads/main'
2222
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
23-
category: 'upload'
2423
env:
2524
TEST_MODE: true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy