Skip to content

Commit 51c7ec2

Browse files
authored
Apply github-actions-demo.yml
* Create github-actions-demo.yml * Update github-actions-demo.yml - Split events on branches - Extend exploring scripts of remaining directories
1 parent 14334a3 commit 51c7ec2

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: GitHub Actions Demo
2+
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
3+
on:
4+
push:
5+
branches: [feat]
6+
pull_request:
7+
branches: [main]
8+
jobs:
9+
Explore-Scripts:
10+
runs-on: ubuntu-latest
11+
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 }}."
15+
16+
- name: Check out repository code
17+
uses: actions/checkout@v4
18+
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
19+
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
20+
21+
- name: List files in the repository
22+
run: |
23+
ls ${{ github.workspace }}
24+
- run: echo "🍏 This job's status is ${{ job.status }}."
25+
26+
- name: List files in DescriptiveStatistics
27+
run: |
28+
TARGET_FOLDER="${{ github.workspace }}/DescriptiveStatistics"
29+
find $TARGET_FOLDER -type f -name "*.py"
30+
- run: echo "🍏 This job's status is ${{ job.status }}."
31+
32+
- name: List files in NumpyPractice
33+
run: |
34+
TARGET_FOLDER="${{ github.workspace }}/NumpyPractice"
35+
find $TARGET_FOLDER -type f -name "*.py"
36+
- run: echo "🍏 This job's status is ${{ job.status }}."
37+
38+
- name: List files in PandasPractice
39+
run: |
40+
TARGET_FOLDER="${{ github.workspace }}/PandasPractice"
41+
find $TARGET_FOLDER -type f -name "*.py"
42+
- run: echo "🍏 This job's status is ${{ job.status }}."

0 commit comments

Comments
 (0)