Updated github actions to run correctly
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
name: Go Backend Deploy
|
||||
name: Go Function Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'backend-go/**'
|
||||
- '.github/workflows/go-backend-deploy.yml'
|
||||
- 'functions/go/**'
|
||||
- '.github/workflows/go-function-deploy.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -22,8 +22,8 @@ jobs:
|
||||
go-version: '1.22'
|
||||
|
||||
- name: Build Go service
|
||||
working-directory: backend-go
|
||||
working-directory: functions/go
|
||||
run: go build ./cmd/api
|
||||
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Go backend binary to AWS Lambda or ECS from this step."
|
||||
run: echo "Deploy the Go function to AWS Lambda from this step."
|
||||
+6
-6
@@ -1,11 +1,11 @@
|
||||
name: Python Backend Deploy
|
||||
name: Python Function Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'backend-python/**'
|
||||
- '.github/workflows/python-backend-deploy.yml'
|
||||
- 'functions/python/**'
|
||||
- '.github/workflows/python-function-deploy.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -22,8 +22,8 @@ jobs:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: backend-python
|
||||
run: pip install -r requirements.txt
|
||||
working-directory: functions/python
|
||||
run: pip3 install -r requirements.txt
|
||||
|
||||
- name: Deploy placeholder
|
||||
run: echo "Deploy the Python API to AWS Lambda with Mangum from this step."
|
||||
run: echo "Deploy the Python function to AWS Lambda with Mangum from this step."
|
||||
+2
-2
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'backend-rust/**'
|
||||
- 'functions/rust/**'
|
||||
- '.github/workflows/rust-backend-deploy.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Build Rust service
|
||||
working-directory: backend-rust
|
||||
working-directory: functions/rust
|
||||
run: cargo build --release
|
||||
|
||||
- name: Deploy placeholder
|
||||
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'pipeline-testing/**'
|
||||
- 'tests/**'
|
||||
- '.github/workflows/test-pipeline-deploy.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install test dependencies
|
||||
working-directory: pipeline-testing
|
||||
run: pip install -r requirements-test.txt
|
||||
working-directory: tests/integration
|
||||
run: pip3 install -r requirements-test.txt
|
||||
|
||||
- name: Run test pipeline placeholder
|
||||
working-directory: pipeline-testing
|
||||
run: python src/test_runner.py
|
||||
working-directory: tests/integration/integration_tests
|
||||
run: python3 test_placeholder.py
|
||||
|
||||
Reference in New Issue
Block a user