Updated github actions to run correctly

This commit is contained in:
Gregory Campbell
2026-06-14 12:01:01 -04:00
parent 0632e52ef8
commit 5d98377727
4 changed files with 18 additions and 18 deletions
@@ -1,11 +1,11 @@
name: Go Backend Deploy name: Go Function Deploy
on: on:
push: push:
branches: [master] branches: [master]
paths: paths:
- 'backend-go/**' - 'functions/go/**'
- '.github/workflows/go-backend-deploy.yml' - '.github/workflows/go-function-deploy.yml'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -22,8 +22,8 @@ jobs:
go-version: '1.22' go-version: '1.22'
- name: Build Go service - name: Build Go service
working-directory: backend-go working-directory: functions/go
run: go build ./cmd/api run: go build ./cmd/api
- name: Deploy placeholder - 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."
@@ -1,11 +1,11 @@
name: Python Backend Deploy name: Python Function Deploy
on: on:
push: push:
branches: [master] branches: [master]
paths: paths:
- 'backend-python/**' - 'functions/python/**'
- '.github/workflows/python-backend-deploy.yml' - '.github/workflows/python-function-deploy.yml'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -22,8 +22,8 @@ jobs:
python-version: '3.11' python-version: '3.11'
- name: Install dependencies - name: Install dependencies
working-directory: backend-python working-directory: functions/python
run: pip install -r requirements.txt run: pip3 install -r requirements.txt
- name: Deploy placeholder - 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."
@@ -4,7 +4,7 @@ on:
push: push:
branches: [master] branches: [master]
paths: paths:
- 'backend-rust/**' - 'functions/rust/**'
- '.github/workflows/rust-backend-deploy.yml' - '.github/workflows/rust-backend-deploy.yml'
workflow_dispatch: workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
- name: Build Rust service - name: Build Rust service
working-directory: backend-rust working-directory: functions/rust
run: cargo build --release run: cargo build --release
- name: Deploy placeholder - name: Deploy placeholder
+5 -5
View File
@@ -4,7 +4,7 @@ on:
push: push:
branches: [master] branches: [master]
paths: paths:
- 'pipeline-testing/**' - 'tests/**'
- '.github/workflows/test-pipeline-deploy.yml' - '.github/workflows/test-pipeline-deploy.yml'
workflow_dispatch: workflow_dispatch:
@@ -22,9 +22,9 @@ jobs:
python-version: '3.11' python-version: '3.11'
- name: Install test dependencies - name: Install test dependencies
working-directory: pipeline-testing working-directory: tests/integration
run: pip install -r requirements-test.txt run: pip3 install -r requirements-test.txt
- name: Run test pipeline placeholder - name: Run test pipeline placeholder
working-directory: pipeline-testing working-directory: tests/integration/integration_tests
run: python src/test_runner.py run: python3 test_placeholder.py