|
@@ -89,7 +89,7 @@ jobs:
|
|
|
|
|
|
- name: Pytest Core
|
|
|
if: steps.changes.outputs.core == 'true'
|
|
|
- run: pipenv run pytest -m "not orchestrator_dispatcher and not modin" tests/core
|
|
|
+ run: pipenv run pytest -m "not orchestrator_dispatcher and not modin and not standalone" tests/core
|
|
|
|
|
|
- name: Pytest GUI
|
|
|
if: steps.changes.outputs.gui == 'true'
|
|
@@ -143,13 +143,52 @@ jobs:
|
|
|
run: pipenv install --dev --python=${{ matrix.python-version }}
|
|
|
|
|
|
- name: Setup LibMagic (MacOS)
|
|
|
- if: matrix.os == 'macos-latest'
|
|
|
+ if: matrix.os == 'macos-latest' and steps.changes.outputs.core == 'true'
|
|
|
run: brew install libmagic
|
|
|
|
|
|
- name: Pytest Core orchestrator_dispatcher
|
|
|
if: steps.changes.outputs.core == 'true'
|
|
|
run: pipenv run pytest -m "orchestrator_dispatcher" tests/core
|
|
|
|
|
|
+ standalone_tests:
|
|
|
+ needs: linter
|
|
|
+ timeout-minutes: 20
|
|
|
+ strategy:
|
|
|
+ fail-fast: false
|
|
|
+ matrix:
|
|
|
+ python-version: ['3.8', '3.9', '3.10', '3.11']
|
|
|
+ os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
+ runs-on: ${{ matrix.os }}
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v4
|
|
|
+
|
|
|
+ - uses: dorny/paths-filter@v2
|
|
|
+ id: changes
|
|
|
+ with:
|
|
|
+ filters: |
|
|
|
+ core:
|
|
|
+ - 'taipy/core/**'
|
|
|
+
|
|
|
+ - uses: actions/setup-python@v5
|
|
|
+ with:
|
|
|
+ python-version: ${{matrix.python-version}}
|
|
|
+
|
|
|
+ - name: Install pipenv
|
|
|
+ if: steps.changes.outputs.core == 'true'
|
|
|
+ run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
|
|
|
+
|
|
|
+ - name: Install Dependencies
|
|
|
+ if: steps.changes.outputs.core == 'true'
|
|
|
+ run: pipenv install --dev --python=${{ matrix.python-version }}
|
|
|
+
|
|
|
+ - name: Setup LibMagic (MacOS)
|
|
|
+ if: matrix.os == 'macos-latest' and steps.changes.outputs.core == 'true'
|
|
|
+ run: brew install libmagic
|
|
|
+
|
|
|
+ - name: Pytest Core standalone
|
|
|
+ if: steps.changes.outputs.core == 'true'
|
|
|
+ run: pipenv run pytest -m "standalone" tests/core
|
|
|
+
|
|
|
modin_tests:
|
|
|
needs: linter
|
|
|
timeout-minutes: 20
|
|
@@ -182,7 +221,7 @@ jobs:
|
|
|
run: pipenv install --dev --python=${{ matrix.python-version }}
|
|
|
|
|
|
- name: Setup LibMagic (MacOS)
|
|
|
- if: matrix.os == 'macos-latest'
|
|
|
+ if: matrix.os == 'macos-latest' and steps.changes.outputs.core == 'true'
|
|
|
run: brew install libmagic
|
|
|
|
|
|
- name: Pytest Core modin
|