Skip to content

Commit b253b4f

Browse files
committed
C#: Delete jobs that moved to the internal repo.
All jobs that are deleted have been moved to the internal repo. The unit tests are also run internally through bazel, but keeping them here also tests the msbuild build.
1 parent 27e9c1b commit b253b4f

File tree

1 file changed

+1
-40
lines changed

1 file changed

+1
-40
lines changed

.github/workflows/csharp-qltest.yml

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -29,53 +29,14 @@ permissions:
2929
contents: read
3030

3131
jobs:
32-
qlupgrade:
33-
runs-on: ubuntu-latest
34-
steps:
35-
- uses: actions/checkout@v4
36-
- uses: ./.github/actions/fetch-codeql
37-
- name: Check DB upgrade scripts
38-
run: |
39-
echo >empty.trap
40-
codeql dataset import -S ql/lib/upgrades/initial/semmlecode.csharp.dbscheme testdb empty.trap
41-
codeql dataset upgrade testdb --additional-packs ql/lib
42-
diff -q testdb/semmlecode.csharp.dbscheme ql/lib/semmlecode.csharp.dbscheme
43-
- name: Check DB downgrade scripts
44-
run: |
45-
echo >empty.trap
46-
rm -rf testdb; codeql dataset import -S ql/lib/semmlecode.csharp.dbscheme testdb empty.trap
47-
codeql resolve upgrades --format=lines --allow-downgrades --additional-packs downgrades \
48-
--dbscheme=ql/lib/semmlecode.csharp.dbscheme --target-dbscheme=downgrades/initial/semmlecode.csharp.dbscheme |
49-
xargs codeql execute upgrades testdb
50-
diff -q testdb/semmlecode.csharp.dbscheme downgrades/initial/semmlecode.csharp.dbscheme
51-
qltest:
52-
if: github.repository_owner == 'github'
53-
runs-on: ubuntu-latest-xl
54-
strategy:
55-
fail-fast: false
56-
matrix:
57-
slice: ["1/2", "2/2"]
58-
steps:
59-
- uses: actions/checkout@v4
60-
- uses: ./csharp/actions/create-extractor-pack
61-
- name: Cache compilation cache
62-
id: query-cache
63-
uses: ./.github/actions/cache-query-compilation
64-
with:
65-
key: csharp-qltest-${{ matrix.slice }}
66-
- name: Run QL tests
67-
run: |
68-
codeql test run --threads=0 --ram 50000 --slice ${{ matrix.slice }} --search-path "${{ github.workspace }}" --check-databases --check-undefined-labels --check-repeated-labels --check-redefined-labels --consistency-queries ql/consistency-queries ql/test --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}"
69-
env:
70-
GITHUB_TOKEN: ${{ github.token }}
7132
unit-tests:
7233
strategy:
7334
matrix:
7435
os: [ubuntu-latest, windows-2019]
7536
runs-on: ${{ matrix.os }}
7637
steps:
7738
- uses: actions/checkout@v4
78-
- name: Setup dotnet
39+
- name: Setup dotnetg
7940
uses: actions/setup-dotnet@v4
8041
with:
8142
dotnet-version: 8.0.101

0 commit comments

Comments
 (0)