Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: BuildLinux
name: BuildAppimage

on: workflow_dispatch

Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/test_fedora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Fedora

on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release

jobs:
testFedora:
fail-fast: false
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 hunspell-devel qt6-qttools-devel qt6-qtsvg-devel sed
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: Fedora specific modifications
run: |
sed -i 's/self.spellLanguage = "en"/self.spellLanguage = "en_US"/g' novelwriter/config.py
sed -i 's/spellcheck = en/spellcheck = en_US/g' tests/reference/baseConfig_novelwriter.conf
sed -i 's/"lrelease"/"lrelease-qt6"/g' utils/assets.py
- 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 }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux
name: Ubuntu

on:
push:
Expand Down