|
@@ -2,11 +2,11 @@ name: integration-tests
|
|
|
|
|
|
on:
|
|
|
push:
|
|
|
- branches: [ "main" ]
|
|
|
+ branches: ['main']
|
|
|
paths-ignore:
|
|
|
- '**/*.md'
|
|
|
pull_request:
|
|
|
- branches: [ "main" ]
|
|
|
+ branches: ['main']
|
|
|
paths-ignore:
|
|
|
- '**/*.md'
|
|
|
|
|
@@ -23,9 +23,9 @@ env:
|
|
|
# TODO: can we fix windows encoding natively within reflex? Bug above can hit real users too (less common, but possible)
|
|
|
# - Catch encoding errors when printing logs
|
|
|
# - Best effort print lines that contain illegal chars (map to some default char, etc.)
|
|
|
- PYTHONIOENCODING: "utf8"
|
|
|
+ PYTHONIOENCODING: 'utf8'
|
|
|
TELEMETRY_ENABLED: false
|
|
|
- NODE_OPTIONS: "--max_old_space_size=4096"
|
|
|
+ NODE_OPTIONS: '--max_old_space_size=4096'
|
|
|
|
|
|
jobs:
|
|
|
example-counter:
|
|
@@ -35,29 +35,29 @@ jobs:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
# Show OS combos first in GUI
|
|
|
- os: [ ubuntu-latest, windows-latest, macos-latest ]
|
|
|
- node-version: [ "16.x" ]
|
|
|
- python-version: ["3.8.18", "3.9.18", "3.10.13", "3.11.5", "3.12.0"]
|
|
|
+ os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
+ node-version: ['16.x']
|
|
|
+ python-version: ['3.8.18', '3.9.18', '3.10.13', '3.11.5', '3.12.0']
|
|
|
exclude:
|
|
|
- os: windows-latest
|
|
|
- python-version: "3.10.13"
|
|
|
+ python-version: '3.10.13'
|
|
|
- os: windows-latest
|
|
|
- python-version: "3.9.18"
|
|
|
+ python-version: '3.9.18'
|
|
|
- os: windows-latest
|
|
|
- python-version: "3.8.18"
|
|
|
+ python-version: '3.8.18'
|
|
|
include:
|
|
|
- os: windows-latest
|
|
|
- python-version: "3.10.11"
|
|
|
+ python-version: '3.10.11'
|
|
|
- os: windows-latest
|
|
|
- python-version: "3.9.13"
|
|
|
+ python-version: '3.9.13'
|
|
|
- os: windows-latest
|
|
|
- python-version: "3.8.10"
|
|
|
+ python-version: '3.8.10'
|
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
|
- uses: actions/setup-node@v3
|
|
|
+ uses: actions/setup-node@v4
|
|
|
with:
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
- uses: ./.github/actions/setup_build_env
|
|
@@ -102,17 +102,17 @@ jobs:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
# Show OS combos first in GUI
|
|
|
- os: [ ubuntu-latest, windows-latest, macos-latest ]
|
|
|
- python-version: [ "3.10.10", "3.11.4" ]
|
|
|
- node-version: [ "16.x" ]
|
|
|
+ os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
+ python-version: ['3.10.10', '3.11.4']
|
|
|
+ node-version: ['16.x']
|
|
|
|
|
|
env:
|
|
|
- REFLEX_WEB_WINDOWS_OVERRIDE: "1"
|
|
|
+ REFLEX_WEB_WINDOWS_OVERRIDE: '1'
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
|
- uses: actions/setup-node@v3
|
|
|
+ uses: actions/setup-node@v4
|
|
|
with:
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
- uses: ./.github/actions/setup_build_env
|
|
@@ -138,4 +138,4 @@ jobs:
|
|
|
run: |
|
|
|
# Check that npm is home
|
|
|
npm -v
|
|
|
- poetry run bash scripts/integration.sh ./reflex-web prod
|
|
|
+ poetry run bash scripts/integration.sh ./reflex-web prod
|