Skip to content

Commit

Permalink
add testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Jun 5, 2024
1 parent a5e05b4 commit 9d467d7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test

on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !(github.ref == 'refs/heads/main') }}

defaults:
run:
shell: bash {0}

jobs:
test:
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 .
- 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

0 comments on commit 9d467d7

Please sign in to comment.