File tree Expand file tree Collapse file tree 2 files changed +25
-13
lines changed Expand file tree Collapse file tree 2 files changed +25
-13
lines changed Original file line number Diff line number Diff line change 1
- name : GitHub Actions Demo
2
- run-name : ${{ github.actor }} is testing out GitHub Actions π
3
- on : [ push ]
1
+ name : Financial Dashboard
2
+
3
+ on : [ push, pull_request ]
4
+
4
5
jobs :
5
- Explore-GitHub-Actions :
6
+ build :
6
7
runs-on : ubuntu-latest
7
8
steps :
8
- - run : echo "π The job was automatically triggered by a ${{ github.event_name }} event."
9
- - run : echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10
- - run : echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
11
- - name : Check out repository code
9
+ - name : Checkout code
12
10
uses : actions/checkout@v4
13
- - run : echo "π‘ The ${{ github.repository }} repository has been cloned to the runner."
14
- - run : echo "π₯οΈ The workflow is now ready to test your code on the runner."
15
- - name : List files in the repository
11
+
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v5
14
+ with :
15
+ python-version : " 3.11"
16
+
17
+ - name : Install dependencies
16
18
run : |
17
- ls ${{ github.workspace }}
18
- - run : echo "π This job's status is ${{ job.status }}."
19
+ python -m pip install --upgrade pip
20
+ pip install -r requirements.txt
21
+
22
+ - name : Linting and Testing Streamlit app
23
+ uses : streamlit/streamlit-app-action@v0.0.3
24
+ with :
25
+ skip-smoke : ' true'
26
+ app-path : ' src/app.py'
27
+ ruff : ' true'
28
+
Original file line number Diff line number Diff line change
1
+ streamlit
2
+ pytest
You canβt perform that action at this time.
0 commit comments