Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
add maven CI
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Nov 22, 2020
1 parent e56f185 commit 53e7b06
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ on:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
maven:
name: "Maven"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- name: Build
run: mvn clean install

unit-test:

runs-on: ubuntu-latest
Expand All @@ -28,7 +39,7 @@ jobs:
- uses: codecov/codecov-action@v1
with:
flags: unitests

e2e:
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -52,7 +63,7 @@ jobs:
browser: ${{ matrix.browser }}
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v1
if: failure()
with:
Expand All @@ -65,4 +76,4 @@ jobs:
path: cypress/videos
- uses: codecov/codecov-action@v1
with:
flags: e2etests
flags: e2etests

0 comments on commit 53e7b06

Please sign in to comment.