Skip to content

Commit 25dbb6b

Browse files
committed
Update workflow
1 parent 078d389 commit 25dbb6b

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/build_run_test.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,33 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
13-
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
14-
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
12+
- run: |
13+
echo "🎉 Job triggered by ${{ github.event_name }} event."
14+
- run: |
15+
echo "🐧 Job running on a ${{ runner.os }} server hosted by GitHub!"
16+
- run: |
17+
echo "🔎 Branch: ${{ github.ref }}; repository: ${{ github.repository }}."
1518
- name: Set up python
1619
uses: actions/setup-python@v5
1720
with:
1821
python-version: '3.10.14'
1922
- name: Print out installed python version
20-
run: python --version
23+
run: |
24+
python --version
2125
- name: Upgrade pip, setuptools, wheel
22-
run: pip install --upgrade pip setuptools wheel
26+
run: |
27+
pip install --upgrade pip setuptools wheel
2328
- name: Install required packages
24-
run: pip install -r requirements.txt
25-
test_notebook:
26-
needs: build
27-
runs-on: ubuntu-latest
28-
steps:
29-
- name: Print out installed python version
30-
run: python --version
29+
run: |
30+
pip install -r requirements.txt
3131
- name: Print out installed pip packages
32-
run: pip freeze
33-
- run: jupyter nbconvert --execute --to html 01_test_notebook.ipynb
32+
run: |
33+
pip freeze
34+
- name: Convert test notebook
35+
run: |
36+
jupyter nbconvert --execute --to html 01_test_notebook.ipynb
3437
docker:
38+
needs: build
3539
runs-on: ubuntu-latest
3640
steps:
3741
-

0 commit comments

Comments
 (0)