Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/balance-by-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/balance-by-account
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: reset dev rds
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make --no-print-directory -C ./migrations resetrds ENV=dev DB=test
- name: warm cache
run: bash scripts/invoke-warm-cache.sh --env dev
run: ENV_ID=${{ secrets.DEV_ENV_ID }} bash scripts/invoke-warm-cache.sh --env dev
- name: run dev cloud integration tests
run: ENV_ID=${{ secrets.DEV_ENV_ID }} cargo test --manifest-path ./tests/Cargo.toml --features integration_tests -- --test-threads=1
# todo: test client integration
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/graphql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -43,7 +42,6 @@ jobs:
- name: unit test
run: cargo test
integration_test:
needs: unit_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -60,7 +58,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -79,7 +76,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/graphql
needs: client_test
needs: [lint_test, unit_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand All @@ -90,4 +87,3 @@ jobs:
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR tag-dev-image
- name: push image
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR push-dev-image

7 changes: 1 addition & 6 deletions .github/workflows/request-approve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/request-approve
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand All @@ -104,4 +100,3 @@ jobs:
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR tag-dev-image
- name: push image
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR push-dev-image

7 changes: 1 addition & 6 deletions .github/workflows/request-by-id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/request-by-id
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand All @@ -104,4 +100,3 @@ jobs:
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR tag-dev-image
- name: push image
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR push-dev-image

7 changes: 1 addition & 6 deletions .github/workflows/request-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/request-create
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand All @@ -104,4 +100,3 @@ jobs:
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR tag-dev-image
- name: push image
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR push-dev-image

7 changes: 1 addition & 6 deletions .github/workflows/requests-by-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/requests-by-account
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand All @@ -104,4 +100,3 @@ jobs:
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR tag-dev-image
- name: push image
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make -C $APP_DIR push-dev-image

6 changes: 1 addition & 5 deletions .github/workflows/rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -48,7 +47,6 @@ jobs:
run: |
make rust-coverage RUST_PKG=rule
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -61,7 +59,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -78,7 +75,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -97,7 +93,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/rule
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/transaction-by-id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/transaction-by-id
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/transactions-by-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
cargo fmt -- --check
cargo clippy -- -Dwarnings
unit_test:
needs: lint_test
name: unit test
runs-on: ubuntu-latest
steps:
Expand All @@ -44,7 +43,6 @@ jobs:
- name: unit test
run: cargo test
database_test:
needs: unit_test
name: database test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -57,7 +55,6 @@ jobs:
- name: test database
run: make -C crates/pg test-db
integration_test:
needs: database_test
name: integration test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +71,6 @@ jobs:
- name: clean up
run: make stop
client_test:
needs: integration_test
name: client test in local docker
runs-on: ubuntu-latest
steps:
Expand All @@ -93,7 +89,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
APP_DIR: services/transactions-by-account
needs: client_test
needs: [lint_test, unit_test, database_test, integration_test, client_test]
steps:
- uses: actions/checkout@v4
- name: mask values
Expand Down
Loading