Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

ci: move integration tests to end of pipeline (after build, lint, security)

Marioe57452788c5d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a33105c0..77b3c064 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -90,3 +90,30 @@ jobs:
cat gosec-results.json | jq '.Issues[] | select(.rule_id == "G112" or .rule_id == "G204")'
exit 1
fi
+
+ integration:
+ name: Integration Tests
+ needs: [build, lint, security]
+ runs-on: ubuntu-latest
+ timeout-minutes: 15
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: actions/setup-go@v5
+ with:
+ go-version: '1.26'
+
+ - name: Install Google Chrome (deb, avoids snap hangs)
+ run: |
+ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
+ echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
+ sudo apt-get update
+ sudo apt-get install -y google-chrome-stable
+ echo "CHROME_BINARY=/usr/bin/google-chrome" >> $GITHUB_ENV
+
+ - name: Run integration tests
+ run: go test -tags integration -v -timeout 10m -count=1 ./tests/integration/
+ env:
+ BRIDGE_HEADLESS: "true"
+ BRIDGE_NO_RESTORE: "true"
+ PINCHTAB_TEST_PORT: "19867"
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
deleted file mode 100644
index 934b2147..00000000
--- a/.github/workflows/integration.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: Integration Tests
-
-on:
- push:
- branches: [main]
- pull_request:
- branches: [main]
- workflow_dispatch:
-
-permissions:
- contents: read
-
-jobs:
- integration:
- name: Integration Tests
- runs-on: ubuntu-latest
- timeout-minutes: 10
- steps:
- - uses: actions/checkout@v4
-
- - uses: actions/setup-go@v5
- with:
- go-version: '1.26'
-
- - name: Install Google Chrome (deb, avoids snap hangs)
- run: |
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
- sudo apt-get update
- sudo apt-get install -y google-chrome-stable
- echo "CHROME_BINARY=/usr/bin/google-chrome" >> $GITHUB_ENV
-
- - name: Run integration tests
- run: go test -tags integration -v -timeout 10m -count=1 ./tests/integration/
- env:
- BRIDGE_HEADLESS: "true"
- BRIDGE_NO_RESTORE: "true"
- PINCHTAB_TEST_PORT: "19867"
diff --git a/.gitignore b/.gitignore
index 5dedf81f..7db7b15e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ TOOLS.md
MEMORY.md
.openclaw/
AGENTS.md
+*.test