Skip to content

Commit ae747b6

Browse files
committed
minor refactoring
1 parent 036313f commit ae747b6

2 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/aws-proxy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
- name: Set up Terraform CLI
4040
uses: hashicorp/setup-terraform@v2
4141

42+
- name: Run linter
43+
run: |
44+
cd aws-proxy
45+
make install
46+
make lint
47+
4248
- name: Install LocalStack and extension
4349
env:
4450
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
@@ -58,8 +64,6 @@ jobs:
5864
# build and install extension
5965
localstack extensions init
6066
(
61-
make install
62-
. .venv/bin/activate
6367
make build
6468
make enable
6569
)
@@ -73,12 +77,6 @@ jobs:
7377
DEBUG=1 GATEWAY_SERVER=hypercorn localstack start -d
7478
localstack wait
7579
76-
- name: Run linter
77-
run: |
78-
cd aws-proxy
79-
(. .venv/bin/activate; pip install --upgrade --pre localstack localstack-ext)
80-
make lint
81-
8280
- name: Run integration tests
8381
env:
8482
AWS_DEFAULT_REGION: us-east-1

.github/workflows/typedb.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
name: LocalStack TypeDB Extension Tests
22

33
on:
4+
push:
5+
paths:
6+
- typedb/**
7+
branches:
8+
- main
49
pull_request:
10+
paths:
11+
- .github/workflows/typedb.yml
12+
- typedb/**
513
workflow_dispatch:
614

715
env:

0 commit comments

Comments
 (0)