mirror of
https://github.com/github/codeql-action.git
synced 2026-01-02 20:50:05 +08:00
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: "Integration Testing"
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
multi-language-repo/test-autodetect-languages:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Move codeql-action
|
|
shell: bash
|
|
run: |
|
|
mkdir ../action
|
|
mv * ../action/
|
|
mv ../action/tests/multi-language-repo/* .
|
|
- uses: ./../action/init
|
|
- name: Build code
|
|
shell: bash
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze
|
|
|
|
|
|
multi-language-repo/test-custom-queries:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Move codeql-action
|
|
shell: bash
|
|
run: |
|
|
mkdir ../action
|
|
mv * ../action/
|
|
mv ../action/tests/multi-language-repo/* .
|
|
- uses: ./../action/init
|
|
with:
|
|
languages: cpp,csharp,go,java,javascript,python
|
|
config-file: ./.github/codeql/custom-queries.yml
|
|
- name: Build code
|
|
shell: bash
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze |