Some more tweaks to Linux workflow

This commit is contained in:
Veronica Berglyd Olsen
2021-05-06 12:50:00 +02:00
parent 9ff397dfbc
commit 5c4398f948
+4 -4
View File
@@ -18,13 +18,13 @@ jobs:
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
architecture: x64 architecture: x64
- name: Install Packages - name: Install Packages (apt)
run: | run: |
sudo apt update sudo apt update
sudo apt install libenchant-dev qt5-default qttools5-dev-tools sudo apt install libenchant-dev qt5-default qttools5-dev-tools
- name: Checkout Source - name: Checkout Source
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install Dependencies - name: Install Dependencies (pip)
run: | run: |
pip install --upgrade pip pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
@@ -32,8 +32,8 @@ jobs:
pip install pytest-cov pip install pytest-cov
pip install pytest-qt pip install pytest-qt
pip install codecov pip install codecov
- name: Update Translations - name: Run Build Commands
run: python setup.py qtlrelease run: python setup.py qtlrelease sample
- name: Run Tests - name: Run Tests
run: | run: |
export QT_QPA_PLATFORM=offscreen export QT_QPA_PLATFORM=offscreen