Skip to content

Commit ae863a3

Browse files
committed
wip
1 parent 22e6b16 commit ae863a3

File tree

3 files changed

+14
-25
lines changed

3 files changed

+14
-25
lines changed

.buildkite/pipeline.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ steps:
4040
- npm config set "//registry.npmjs.org/:_authToken" $${NPM_TOKEN}
4141
- echo "--- Install dependencies"
4242
- yarn install --immutable
43-
- yarn run -T browser exec make ci
43+
- echo "--- Build bundles"
44+
- yarn run -T browser . build
45+
- echo '--- Check Size limit'
46+
- yarn run -T browser size-limit
47+
- echo "+++ Run tests"
48+
- yarn run -T browser lint
49+
- yarn run -T browser test
4450
plugins:
4551
- ssh://[email protected]/segmentio/cache-buildkite-plugin#v2.0.0:
4652
key: "v1.1-cache-dev-{{ checksum 'yarn.lock' }}"
@@ -174,6 +180,8 @@ steps:
174180
- yarn install --immutable
175181
- echo "+++ Run Destinations QA Tests :pray:"
176182
- yarn run -T browser exec make test-qa-destinations
183+
- yarn run -T browser exec make test-integration
184+
- yarn run -T browser exec make test-perf
177185
soft_fail:
178186
- exit_status: '*'
179187
plugins:

packages/browser/Makefile

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,26 @@ test-unit: node_modules ## Runs unit tests
3535
$(yarn_run) test
3636
.PHONY: test-unit
3737

38-
test-qa: build-browser ## Runs all QA tests in a single command
38+
test-qa: build-browser
3939
COVERAGE=false $(yarn_run) test --runTestsByPath qa/__tests__/*.test.ts --testPathIgnorePatterns qa/__tests__/destinations.test.ts --reporters="default" --reporters="<rootDir>/qa/lib/jest-reporter.js" ${args}
4040
.PHONY: test-qa
4141

42-
test-qa-destinations: build-browser ## Runs Destination QA tests. options. DESTINATION=amplitude DEBUG=true
42+
test-qa-destinations: build-browser
4343
COVERAGE=false $(yarn_run) test --forceExit --runTestsByPath qa/__tests__/destinations.test.ts --reporters="default" --reporters="<rootDir>/qa/lib/jest-reporter.js" ${args}
44-
.PHONY: test-qa-destinations
44+
.PHONY: test-
4545

46-
test-integration: build ## Runs all integration tests in a single command
46+
test-integration: build
4747
COVERAGE=false $(yarn_run) test --forceExit --runTestsByPath e2e-tests/**/*.test.ts ${args}
4848
.PHONY: test-integration
4949

50-
test-perf: build ## Runs all integration tests in a single command
50+
test-perf: build
5151
$(yarn_run) test --forceExit --runTestsByPath e2e-tests/performance/*.test.ts ${args}
5252
.PHONY: test-perf
5353

5454
lint: node_modules ## Lints the source code
5555
$(yarn_run) lint
5656
.PHONY: lint
5757

58-
ci:
59-
bash ./scripts/ci.sh
60-
.PHONY: ci
61-
6258
handshake:
6359
@echo "📡 Establishing Remote connection"
6460
@robo --config ~/dev/src/github.com/segmentio/robofiles/development/robo.yml prod.ssh echo "✅ Connected"

packages/browser/scripts/ci.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)