Skip to content

Test on Fedora linux #3

Test on Fedora linux

Test on Fedora linux #3

Workflow file for this run

name: Fedora
on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
testFedora:
runs-on: ubuntu-latest
container:
image: fedora:rawhide
steps:
- name: Install Packages (dnf)
run: |
dnf -y update
dnf -y install adobe-source-sans-pro-fonts hunspell-en hunspell-en-GB hunspell-en-US
dnf -y install enchant2-devel git hunspell-devel qt6-qttools-devel qt6-qtsvg-devel
dnf -y install python3-devel
- name: Checkout Source
uses: actions/checkout@v4
- name: Install Dependencies (pip)
run: |
pip install -U -r requirements.txt -r tests/requirements.txt
- name: Run Build Commands
run: |
python pkgutils.py qtlrelease
python pkgutils.py sample
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
python -m pytest -v --cov=novelwriter --timeout=60
- name: Upload to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}