Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Windows IT #141

Merged
merged 1 commit into from
Apr 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,38 @@ jobs:
with:
name: Test reports (OpenShift ${{ matrix.openshift }}-${{ matrix.suite }})
path: ./reports
windows:
name: Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java 11
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Install JKube
run: mvn -f pom.xml -B -DskipTests clean install
- name: Checkout JKube Integration Tests Repository
shell: cmd
run: |
git clone %JKUBE_IT_REPOSITORY%
cd %JKUBE_IT_DIR%
git checkout "%JKUBE_IT_REVISION%"
- name: Install and Run Integration Tests
run: |
$env:JKUBE_VERSION = (mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression='project.version' -q -DforceStdout) | Out-String
echo $env:JKUBE_VERSION
cd $env:JKUBE_IT_DIR
mvn -B -PWindows clean verify -D'jkube.version'=$env:JKUBE_VERSION
- name: Consolidate reports
if: always()
run: |
mkdir reports
cp $env:JKUBE_IT_DIR\it\target\jkube-test-report.txt reports
- name: Save reports as artifact
if: always()
uses: actions/upload-artifact@master
with:
name: Test reports (Windows)
path: ./reports