Skip to content

Commit

Permalink
add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Jun 5, 2024
1 parent 800667f commit dc7c460
Showing 1 changed file with 39 additions and 15 deletions.
54 changes: 39 additions & 15 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,47 @@ defaults:
shell: bash {0}

jobs:
test:
runs-on: macos-latest
test:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: Install dependencies
run: |
pip install .
- name: Install dependencies
run: |
pip install .
- name: Run myapp
run: solara run myapp.app&
- name: Run myapp
run: solara run myapp.app&

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

test-two:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"

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

- name: Run example app
run: solara run test.py&

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

0 comments on commit dc7c460

Please sign in to comment.