Skip to content

Dialog to select proposal/directory when starting GUI #41

Dialog to select proposal/directory when starting GUI

Dialog to select proposal/directory when starting GUI #41

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
env:
SYSTEM_PACKAGES: gcc g++ xvfb qtbase5-dev
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache APT Packages
uses: awalsh128/[email protected]
with:
packages: ${{ env.SYSTEM_PACKAGES }}
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/pyproject.toml') }}-${{ hashFiles('.github/dependabot/constraints.txt') }}
- name: Install Python dependencies
run: |
python3 -m pip install .[test] --constraint .github/dependabot/constraints.txt
- name: Test with pytest
run: |
python3 -m pytest -v