Skip to content

Commit

Permalink
Update test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
susmitamane authored Jul 4, 2024
1 parent 5b0edcf commit 51f8335
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Test
name: Testing Issue 10000

on:
push:
branches:
- main
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -14,13 +12,8 @@ defaults:
shell: bash {0}

jobs:
test-macos:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ 'macos-12', 'macos-13', 'macos-14']
try: ['0', '1', '2']
test:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -32,15 +25,18 @@ jobs:

- name: Install dependencies
run: |
pip install .
pip install solara
- name: Run myapp
run: solara run myapp.app&
- name: Make solara example app
run: solara create button test.py

- name: Curl server response
run: curl --head --retry 35 --retry-connrefused --retry-delay 5 http://localhost:8765
- name: Run example app
run: solara run test.py&

test-two:
- name: Curl server response
run: curl --head -X GET --retry 35 --retry-connrefused --retry-delay 5 http://localhost:8765

test-by-removing-X:
runs-on: macos-latest

steps:
Expand All @@ -62,4 +58,4 @@ jobs:
run: solara run test.py&

- name: Curl server response
run: curl --head -X GET --retry 35 --retry-connrefused --retry-delay 5 http://localhost:8765
run: curl --head --retry 35 --retry-connrefused --retry-delay 5 http://localhost:8765

0 comments on commit 51f8335

Please sign in to comment.