Skip to content

Commit 2f20fff

Browse files
authored
Merge pull request #143 from aws/fabisev/integration-test-deletion
Deleting integration tests
2 parents a5ae1c2 + 34b48f1 commit 2f20fff

30 files changed

+4
-1909
lines changed

.github/workflows/test-on-push-and-pr.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,4 @@ jobs:
2121
docker build -f test/unit/Dockerfile.nodejs${{ matrix.node-version }}.x -t unit/nodejs.${{ matrix.node-version }}x .
2222
docker run unit/nodejs.${{ matrix.node-version }}x
2323
24-
integration-test:
25-
runs-on: ubuntu-latest
26-
strategy:
27-
fail-fast: false
28-
matrix:
29-
distro: [alpine, amazonlinux, centos, debian, ubuntu]
3024
31-
steps:
32-
- uses: actions/checkout@v4
33-
- name: Run ${{ matrix.distro }} integration tests
34-
run: DISTRO=${{ matrix.distro }} make test-integ

Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,6 @@ init:
88
test:
99
npm run test
1010

11-
setup-codebuild-agent:
12-
docker build -t codebuild-agent - < test/integration/codebuild-local/Dockerfile.agent
13-
14-
test-smoke: setup-codebuild-agent
15-
CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_one.sh test/integration/codebuild/buildspec.os.alpine.1.yml alpine 3.16 18
16-
17-
test-integ: setup-codebuild-agent
18-
CODEBUILD_IMAGE_TAG=codebuild-agent DISTRO="$(DISTRO)" test/integration/codebuild-local/test_all.sh test/integration/codebuild
19-
2011
copy-files:
2112
npm run copy-files
2213

@@ -30,7 +21,7 @@ format:
3021
dev: init test
3122

3223
# Verifications to run before sending a pull request
33-
pr: build dev test-smoke
24+
pr: build dev
3425

3526
clean:
3627
npm run clean
@@ -42,7 +33,7 @@ build: copy-files
4233
pack: build
4334
npm pack
4435

45-
.PHONY: target init test setup-codebuild-agent test-smoke test-integ install format dev pr clean build pack copy-files
36+
.PHONY: target init test install format dev pr clean build pack copy-files
4637

4738
define HELP_MESSAGE
4839

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ make init build
162162
```
163163
Then,
164164
* to run unit tests: `make test`
165-
* to run integration tests: `make test-integ`
166-
* to run smoke tests: `make test-smoke`
167165

168166
### Raising a PR
169167
When modifying dependencies (`package.json`), make sure to:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/integration/codebuild-local/Dockerfile.agent

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

test/integration/codebuild-local/codebuild_build.sh

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

test/integration/codebuild-local/test_all.sh

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

0 commit comments

Comments
 (0)