File tree Expand file tree Collapse file tree 2 files changed +27
-13
lines changed Expand file tree Collapse file tree 2 files changed +27
-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
+ test :
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - uses : streamlit/streamlit-app-action@v0.0.3
26
+ with :
27
+ skip-smoke : ' true'
28
+ app-path : ' src/app.py'
29
+ ruff : ' true'
30
+
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