Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Init GitHub actions #12

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Main Ci/CD
on: [push]
OleksiiBulba marked this conversation as resolved.
Show resolved Hide resolved
jobs:
tests:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of branch is ${{ github.ref }} and repository is ${{ github.repository }}."
OleksiiBulba marked this conversation as resolved.
Show resolved Hide resolved
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
OleksiiBulba marked this conversation as resolved.
Show resolved Hide resolved
- run: echo "🖥️ The workflow is now ready to test code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Run tests
run: |
cd ${{ github.workspace }}/tests/install && ${{ github.workspace }}/tests/run-test-install.sh -c
- run: echo "🍏 This job's status is ${{ job.status }}."