Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
martinxu9 committed Feb 14, 2024
1 parent 7c62a99 commit 89a7246
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/app_harness.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: app-harness
env:
REFLEX_VERSION: "==0.3.9"
# TODO: switch to the official release
REFLEX_VERSION: '==0.4.0a1'
TELEMETRY_ENABLED: false
APP_HARNESS_HEADLESS: 1
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
workflow_dispatch:
inputs:
reflex_version:
description: "Reflex version"
description: 'Reflex version'

jobs:
list-examples-with-tests:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/check_export.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: check-export
env:
REFLEX_VERSION: "==0.3.9"
# TODO: switch to the official release
REFLEX_VERSION: '==0.4.0a1'
TELEMETRY_ENABLED: false
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
workflow_dispatch:
inputs:
reflex_version:
description: "Reflex version"
description: 'Reflex version'

jobs:
list-examples:
Expand All @@ -24,7 +25,7 @@ jobs:
run: |
# TODO fix sales export
# TODO fix stable_diffusion export (gets stuck)
EXAMPLES="$(find . -not -name '.*' -maxdepth 1 -type d | cut -f2 -d/ | sort | grep -vw sales | grep -vw stable_diffusion | jq -R | jq -s -c)"
EXAMPLES="$(find . -not -name '.*' -maxdepth 1 -type d | cut -f2 -d/ | sort | grep -vw chakra_apps | jq -R | jq -s -c)"
echo $EXAMPLES
echo "examples=$EXAMPLES" >> $GITHUB_OUTPUT
Expand All @@ -43,7 +44,7 @@ jobs:
echo "$f is not a directory!"
exit 1
fi
cd "$f"
if [[ ! -f requirements.txt ]]; then
Expand Down

0 comments on commit 89a7246

Please sign in to comment.