Skip to content

Set shell to cmd

Set shell to cmd #10

Workflow file for this run

name: Continuous-Integration
on:
push:
branches:
- main
workflow_dispatch: ~
jobs:
build:
name: Execute Tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Build solution
shell: cmd
run: mvn clean package -DskipTests -Dstyle.color=always
- name: Run Selenoid
shell: pwsh
run: .\src\external-resources\selenoid\start-selenoid-docker.ps1
- name: Run WEB tests
shell: cmd
run: mvn test -DsuiteXmlFile=TestNG.xml -Dstyle.color=always -Dcucumber.filter.tags="@WEB"
- name: Run API tests
shell: cmd
run: mvn test -DsuiteXmlFile=TestNG.xml -Dstyle.color=always -Dcucumber.filter.tags="@API"