Skip to content

Commit aa1c083

Browse files
committed
Feature: Init GitHub actions
- Added first GitHub action main.yaml;
1 parent 03c5bd9 commit aa1c083

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Main Ci/CD
2+
on: [push]
3+
jobs:
4+
tests:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
8+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
9+
- run: echo "🔎 The name of branch is ${{ github.ref }} and repository is ${{ github.repository }}."
10+
- name: Check out repository code
11+
uses: actions/checkout@v3
12+
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
13+
- run: echo "🖥️ The workflow is now ready to test code on the runner."
14+
- name: List files in the repository
15+
run: |
16+
ls ${{ github.workspace }}
17+
- name: Run tests
18+
run: |
19+
cd ${{ github.workspace }}/tests/install && ${{ github.workspace }}/tests/run-test-install.sh -c
20+
- run: echo "🍏 This job's status is ${{ job.status }}."

0 commit comments

Comments
 (0)