Skip to content

Commit

Permalink
Check why GitHub Action skips all tests, while a local run with exact…
Browse files Browse the repository at this point in the history
…ly the same code and parameters does work
  • Loading branch information
jkosternl committed Oct 7, 2024
1 parent cfbe4da commit 1bf6b05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 32 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/deploy-to-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,36 +45,9 @@ jobs:

- name: Build Conformance-Gateway
run: |
mvn package -B -V -DskipTests
mvn clean package -B -V -DskipTests
# No need to run tests, as they are already run in the PR workflow

- name: Build Web UI
run: |
cd webui
echo Install AWS CDK
npm install -g aws-cdk
echo Install dependencies
npm install
echo Build Web UI
npm run build -- --configuration=${{ env.AWS_ENVIRONMENT }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ env.AWS_REGION }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Diff Conformance-Gateway Stack of ${{ env.AWS_ENVIRONMENT }}
run: |
cd cdk/
cdk diff ${{ env.AWS_ENVIRONMENT }}ConformanceStack
- name: Deploy Conformance-Gateway Stack to ${{ env.AWS_ENVIRONMENT }}
run: |
cd cdk/
cdk deploy ${{ env.AWS_ENVIRONMENT }}ConformanceStack
- name: Verify Run in AWS
env:
TEST_LOGIN_EMAIL: ${{ secrets.AWS_DEV_LOGIN_EMAIL }} # User account details to log in the Web UI.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ on:
- master
paths-ignore:
- "**.md"
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- "**.md"
# pull_request:
# types: [opened, synchronize, reopened]
# paths-ignore:
# - "**.md"

jobs:
build:
Expand Down

0 comments on commit 1bf6b05

Please sign in to comment.