-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 994 Bytes
/
Copy pathtest.yml
File metadata and controls
28 lines (28 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
architecture: 'x64'
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y xvfb libxcb-icccm4 libxcb-image0 libxcb-randr0 libxcb-xinerama0 libxcb-keysyms1 libxcb-render-util0 libxcb-xkb1 x11-utils libxkbcommon-x11-0
sudo apt-get install -y krb5-config libkrb5-dev
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install py
pip install pytest-qt==4.0.2
- name: Test
env:
QT_DEBUG_PLUGINS: 1
run: xvfb-run pytest -s -v tests -W ignore::DeprecationWarning
- run: echo "🍏 This job's status is ${{ job.status }}."