Skip to content

Commit

Permalink
MET-5919 Introduce Github Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjmaclean committed Apr 12, 2024
1 parent 2ffadbb commit c654a1a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/_deploy-sandbox.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ jobs:
path: ./projects/sandbox/dist

push-docker-image:
#needs: [build-dist, run-unit, run-e2e-sandbox]
needs: [build-dist, run-unit]
needs: [build-dist, run-unit, run-e2e-sandbox]
if: ${{ github.event.inputs.run_build == 'true' }}
runs-on: ubuntu-latest
steps:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/run-sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ jobs:
if: ${{ github.event.inputs.run_build == 'true' }}
runs-on: ubuntu-latest
steps:
#- name: Get Project Source
# uses: actions/download-artifact@master
# with:
# name: appSource
# path: src/app
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -32,18 +27,12 @@ jobs:
with:
name: appLcovShared
path: ./lcov-shared.info

- run:
ls -l
- run:
cp ./lcov-shared.info/lcov-shared.info ./shared.info
- run:
cp ./lcov-sandbox-ui.info/lcov-sandbox-ui.info ./sandbox.info
- run:
cp ./lcov-metis-ui.info/lcov-metis-ui.info ./metis.info
- run:
ls -l


- name: SonarQube Scan
uses: sonarsource/sonarcloud-github-action@master
Expand All @@ -58,4 +47,3 @@ jobs:
-Dsonar.sources=projects/metis/src/app,projects/sandbox/src/app,projects/shared/src/lib
-Dsonar.exclusions=projects/**/src/**/_mocked/**
-Dsonar.javascript.lcov.reportPaths=./metis.info,./sandbox.info,./shared.info
# -Dsonar.javascript.lcov.reportPaths=./lcov-metis-ui.info/lcov-metis-ui.info,./lcov-sandbox-ui.info/lcov-sandbox-ui.info,./lcov-shared.info/lcov-shared.info
9 changes: 0 additions & 9 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ jobs:
cp projects/metis/coverage/**/lcov.info ./lcov-metis-ui.info
cp projects/sandbox/coverage/**/lcov.info ./lcov-sandbox-ui.info
cp projects/shared/coverage/**/lcov.info ./lcov-shared.info
- run: |
ls -l
#- uses: actions/upload-artifact@master
# with:
# name: appSource
# path: src/app

- uses: actions/upload-artifact@master
with:
name: appLcovMetisUI
Expand Down

0 comments on commit c654a1a

Please sign in to comment.