Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
akdasa committed Jul 29, 2024
1 parent ffe3989 commit 6c453af
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
# Build
#

build:
name: Build / ${{ matrix.config.service }}
build-backend:
name: Build / ${{ matrix.config.name }}
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -23,12 +23,15 @@ jobs:
matrix:
include:
- config:
name: Gateway
service: gateway
context: ./modules/services/gateway
- config:
name: Database
service: database
context: ./modules/services/database/modules/database
- config:
name: Database Boostrtap
service: database-bootstrap
context: ./modules/services/database/modules/bootstrap

Expand Down Expand Up @@ -61,12 +64,32 @@ jobs:
run: |
docker push ghcr.io/akdasa-studios/lectorium-${{ matrix.config.service }}:${{ env.VERSION }}-dev
build-mobile:
name: Build / ${{ matrix.config.name }}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
include:
- config:
name: Android
- config:
name: iOS
- config:
name: Web
steps:
- name: Build App
run: |
echo "Running E2E tests"
echo "Tests passed"
deploy-staging:
name: Deploy / Staging
runs-on: ubuntu-latest
environment: Staging
needs: build
needs: build-backend
permissions:
contents: read
packages: write
Expand All @@ -90,7 +113,7 @@ jobs:
tests-e2e:
name: E2E Tests
runs-on: ubuntu-latest
needs: deploy-staging
needs: [deploy-staging, build-mobile]
permissions:
contents: read
packages: write
Expand Down

0 comments on commit 6c453af

Please sign in to comment.