diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index c7520e8..6575954 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -10,7 +10,7 @@ jobs: sync-to-hub: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true diff --git a/.github/workflows/teststreamlit.yml b/.github/workflows/teststreamlit.yml new file mode 100644 index 0000000..43eb0a7 --- /dev/null +++ b/.github/workflows/teststreamlit.yml @@ -0,0 +1,23 @@ +name: Test Streamlit app + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + streamlit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.11' + - uses: streamlit/streamlit-app-action@v0.0.3 + with: + app-path: app.py + ruff: true