Skip to content

Commit

Permalink
[CI] GitHub Actions support
Browse files Browse the repository at this point in the history
  • Loading branch information
shahmishal committed Oct 25, 2024
1 parent d8e7670 commit 9962564
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Pull request

on:
pull_request:
types: [opened, reopened, synchronize]

jobs:
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
# https://github.com/swiftlang/github-workflows/issues/48
license_header_check_enabled: false
license_header_check_project_name: "VS Code Swift"
api_breakage_check_enabled: false
docs_check_enabled: false
format_check_enabled: false
# https://github.com/swiftlang/vscode-swift/issues/1162
shell_check_enabled: false
# https://github.com/swiftlang/vscode-swift/issues/1161
unacceptable_language_check_enabled: false

tests:
name: Test
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
with:
linux_env_vars: |
NODE_VERSION=v18.19.0
NODE_PATH=/usr/local/nvm/versions/node/v18.19.0/bin
NVM_DIR=/usr/local/nvm
CI=1
FAST_TEST_RUN=1
linux_pre_build_command: |
apt-get update && apt-get install -y rsync curl gpg libasound2 libgbm1 libgtk-3-0 libnss3 xvfb build-essential
mkdir -p $NVM_DIR
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
/bin/bash -c "source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION"
echo "$NODE_PATH" >> $GITHUB_PATH
linux_build_command: ./docker/test.sh
enable_windows_checks: false

0 comments on commit 9962564

Please sign in to comment.