Skip to content
Merged

Dev #215

Show file tree
Hide file tree
Changes from all commits
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
46 changes: 46 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: JE_Editor Dev

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
schedule:
- cron: "0 4 * * *"

permissions:
contents: read

jobs:
build_dev_version:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r dev_requirements.txt
pip install -e .
- name: Run unit tests
run: python -m pytest test/ -v --tb=short --ignore=test/qt_ui
- name: Test Start Editor
timeout-minutes: 2
env:
QT_QPA_PLATFORM: offscreen
run: python ./test/qt_ui/unit_test/start_qt_ui.py
shell: cmd
- name: Test Extend Editor
timeout-minutes: 2
env:
QT_QPA_PLATFORM: offscreen
run: python ./test/qt_ui/unit_test/extend_test.py
shell: cmd
31 changes: 0 additions & 31 deletions .github/workflows/dev_python3_10.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/dev_python3_11.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/dev_python3_12.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: JE_Editor Stable

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: "0 4 * * *"

permissions:
contents: read

jobs:
build_stable_version:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install -r dev_requirements.txt
pip install -e .
- name: Run unit tests
run: python -m pytest test/ -v --tb=short --ignore=test/qt_ui
- name: Test Start Editor
timeout-minutes: 2
env:
QT_QPA_PLATFORM: offscreen
run: python ./test/qt_ui/unit_test/start_qt_ui.py
shell: cmd
- name: Test Extend Editor
timeout-minutes: 2
env:
QT_QPA_PLATFORM: offscreen
run: python ./test/qt_ui/unit_test/extend_test.py
shell: cmd
31 changes: 0 additions & 31 deletions .github/workflows/stable_python3_10.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/stable_python3_11.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/stable_python3_12.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ dmypy.json
.idea/misc.xml
/.idea
/.claude/
/output
Loading
Loading