Skip to content

Replace deprecated inspect.getargspec (#118) #15

Replace deprecated inspect.getargspec (#118)

Replace deprecated inspect.getargspec (#118) #15

Workflow file for this run

name: RemoteSwingLibrary CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'windows-latest' ]
python-version: ['3.7', '3.10', '3.11', 'pypy-3.8', 'pypy-3.9']
include:
- os: ubuntu-latest
set_display: export DISPLAY=:99; Xvfb :99 -screen 0 1920x1080x24 -ac -noreset & sleep 3
steps:
- uses: actions/checkout@v2
- name: Set up Java 8
uses: actions/setup-java@v1
with:
java-version: 8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run tests on Linux
if: runner.os == 'Linux'
run: |
${{ matrix.set_display }}
mvn clean verify -Dexcludes=Webstart
- name: Run tests on Windows
if: runner.os == 'Windows'
run: Set-DisplayResolution -Width 1920 -Height 1080 -Force; mvn clean verify -Dexcludes=Webstart
shell: powershell
# - name: Run tests MacOS
# if: runner.os == 'macOS'
# run: mvn clean verify -Dexcludes=Webstart
- uses: actions/upload-artifact@v1
if: success() || failure()
with:
name: Test Results - ${{ runner.os }}
path: "target/robotframework-reports/"