diff --git a/.github/workflows/lomap_es1b1.yml b/.github/workflows/lomap_es1b1.yml index d0d9683..b15fbec 100644 --- a/.github/workflows/lomap_es1b1.yml +++ b/.github/workflows/lomap_es1b1.yml @@ -12,46 +12,9 @@ on: - develop jobs: - unit-tests: - runs-on: ubuntu-20.04 - env: - REACT_APP_MONGODB_URI: ${{ secrets.MONGODB_URI }} - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - run: npm --prefix webapp ci - - run: npm --prefix restapi ci - - run: npm --prefix webapp test --coverage --watchAll - - run: npm --prefix restapi test --coverage --watchAll - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - - name: Analyze with SonarCloud - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - e2e-tests: - needs: [unit-tests] - runs-on: ubuntu-latest - env: - REACT_APP_MONGODB_URI: ${{ secrets.MONGODB_URI }} - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - 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: [e2e-tests] steps: - uses: actions/checkout@v3 - name: Publish to Registry @@ -70,7 +33,6 @@ jobs: docker-push-restapi: name: Push restapi Docker Image to GitHub Packages runs-on: ubuntu-latest - # needs: [e2e-tests] steps: - uses: actions/checkout@v3 - name: Publish to Registry