remove step to install mvn #2
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: Run Java Implementation | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Tests - ${{ matrix.os }} - ${{ matrix.node_version }} - ${{ matrix.java-version }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: [16.x] | |
java-version: [11] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Setup Java ${{ matrix.java-version }} | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java-version }} | |
- name: Install Appium | |
run: npm i --location=global appium | |
- name: Install uiautomator2 | |
run: appium driver install uiautomator2 | |
- name: Install plugin | |
run: npm run install-plugin | |
- name: Start appium server | |
run: appium --use-plugins=appium-reporter-plugin | |
- name: navigate to Java Implementation | |
run: cd examples/java/AppiumReportPluginDemo | |
- name: run tests | |
run: mvn test |