fix: use correct syntax for relative paths #369
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test and build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build_and_test: | |
name: build and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Cache Maven packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Cache node | |
uses: actions/cache@v2 | |
with: | |
path: ~/.node | |
key: ${{ runner.os }}-node-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-node | |
- name: Setup chromedriver | |
uses: nanasess/setup-chromedriver@master | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Build and test | |
run: mvn --batch-mode clean install | |
- name: Build Docker image | |
run: AMW_docker/build.sh | |
- name: Run e2e tests | |
run: | | |
cd AMW_e2e | |
npm install | |
npm run test:ci |