Skip to content

Sync 1D, 2D, 3D binning in Raw data tab view #24

Sync 1D, 2D, 3D binning in Raw data tab view

Sync 1D, 2D, 3D binning in Raw data tab view #24

Workflow file for this run

name: build macOS, Linux, Windows
on: [push, pull_request]
jobs:
build:
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12] # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
steps:
- name: Set up screen settings (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libxcb-xinerama0
sudo apt-get install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xfixes0
sudo apt-get install libxcb-shape0
sudo apt-get install libpulse-mainloop-glib0
sudo apt-get install libegl1-mesa
sudo apt-get install libxkbcommon-x11-0
Xvfb :0 -screen 0 1920x1080x24 -ac &
echo "DISPLAY=:0" >> $GITHUB_ENV
- name: Set up screen settings (macOS)
if: runner.os == 'macOS'
run: |
"/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080
system_profiler SPDisplaysDataType | grep Resolution
- name: Set up screen settings (Windows)
if: runner.os == 'Windows'
run: |
Set-DisplayResolution -Width 1920 -Height 1080 -Force
Get-DisplayResolution
- name: Check-out repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Upgrade PIP
run: python -m pip install --upgrade pip
- name: Install Python dependences
run: |
python -m pip install git+https://github.com/easyscience/EasyApp.git@new-easy-app
python -m pip install jsbeautifier pytest-image-diff
- name: Run QML GUI tests (run app in testmode, compare properties, save app images)
run: |
cd EasyExampleApp
python main.py --testmode
#- name: Run pytest (compare app images after previous step)
# run: pytest