Skip to content

Commit 047f5da

Browse files
committed
Add an integration test for GitHub Enterprise Server.
1 parent 197081f commit 047f5da

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,24 @@ jobs:
4040
- name: Test
4141
run: go test ./...
4242

43+
integration_ghes:
44+
name: Integration Test (GitHub Enterprise Server)
45+
runs-on: ubuntu-20.04
46+
if: ${{ github.event != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
47+
steps:
48+
- name: Checkout
49+
uses: actions/checkout@v2
50+
- name: Setup Go
51+
uses: actions/setup-go@v2
52+
with:
53+
go-version: 1.14.7
54+
- name: Build
55+
run: go build
56+
- name: Test
57+
run: ./codeql-action-sync sync --destination-url https://ghe.io/ --destination-repository codeql-action-sync-tool/integration-test
58+
env:
59+
CODEQL_ACTION_SYNC_TOOL_DESTINATION_TOKEN: ${{ secrets.INTEGRATION_TEST_GHES_TOKEN }}
60+
4361
lint:
4462
name: Lint
4563
runs-on: ubuntu-20.04

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