Skip to content

Commit

Permalink
Commented e2e-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PabVF23 committed May 2, 2023
1 parent 41fb6a0 commit 0a464d7
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/lomap_en1a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,31 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
e2e-tests:
needs: [unit-test-webapp, unit-test-restapi]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
env:
CI: ""
with:
node-version: 18
- run: npm --prefix webapp install
- run: npm --prefix restapi install
- run: npm --prefix webapp run build
- run: npm --prefix webapp run test:e2e
# e2e-tests:
# needs: [unit-test-webapp, unit-test-restapi]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# env:
# CI: ""
# with:
# node-version: 18
# - run: npm --prefix webapp install
# - run: npm --prefix restapi install
# - run: npm --prefix webapp run build
# - run: npm --prefix webapp run test:e2e
docker-push-webapp:
name: Push webapp Docker Image to GitHub Packages
runs-on: ubuntu-latest
#needs: [unit-test-webapp, unit-test-restapi]
needs: [e2e-tests]
needs: [unit-test-webapp, unit-test-restapi]
# needs: [e2e-tests]
steps:
- uses: actions/checkout@v3
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
# env:
# host: ${{ secrets.HOST_NAME }}
env:
host: ${{ secrets.HOST_NAME }}
with:
name: arquisoft/lomap_en1a/webapp
username: ${{ github.actor }}
Expand All @@ -74,8 +74,8 @@ jobs:
docker-push-restapi:
name: Push restapi Docker Image to GitHub Packages
runs-on: ubuntu-latest
#needs: [unit-test-webapp, unit-test-restapi]
needs: [e2e-tests]
needs: [unit-test-webapp, unit-test-restapi]
# needs: [e2e-tests]
steps:
- uses: actions/checkout@v3
- name: Publish to Registry
Expand Down

0 comments on commit 0a464d7

Please sign in to comment.