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

asd #10

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

asd #10

Show file tree
Hide file tree
Changes from all commits
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
3 changes: 1 addition & 2 deletions .github/workflows/ccc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Run Triggered Workflow

on:
check_run:
types: [created, completed]
types:

jobs:
check-run-job:
Expand All @@ -20,4 +20,3 @@ jobs:
if: github.event.action == 'completed'
run: echo "A check run was completed."


1 change: 0 additions & 1 deletion .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
gh api -X PATCH -H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
-f 'conclusion=success' \
-f 'details_url=https://cdn-icons-png.flaticon.com/512/4138/4138124.png' \
-f 'output[title]=My Check Run Title 🚀' \
-f 'output[summary]=**Summary**: The run completed.' \
-f 'output[text]=Everything worked as expected. You should see a logo above.' \
Expand Down
83 changes: 83 additions & 0 deletions .github/workflows/solar-system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Solar System

on:
workflow_dispatch:
push:
branches:
- main
- test # ignoring pushing to any feature branch using !
pull_request:
types: opened


env:
DOCKERHUB_USERNAME: siddharth67
IMAGE_VERSION: ${{ github.sha }}

jobs:
unit-testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Analyze code with CodeQL
uses: github/codeql-action/analyze@main
# - name: Setup NodeJS Version - 19 on ubuntu-latest
# uses: actions/setup-node@v3
# with:
# node-version: 20

# - name: NPM Install
# run: npm install

# - name: NPM Testing
# id: unit-testing
# run: NODE_ENV=deploy npm test

# - name: Archive Test Result
# if: always()
# uses: actions/upload-artifact@v3
# with:
# name: Mocha-Test-Result
# path: test-results.xml

# - uses: check-run-reporter/[email protected]
# if: always()
# with:
# token: ${{ secrets.CHECK_RUN_REPORTER_TOKEN }}
# report: 'test-results.xml'
# code-coverage:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# - name: Setup NodeJS Version - 19
# uses: actions/setup-node@v3
# with:
# node-version: 19

# - name: Cache NPM dependencies
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}

# - name: NPM Install
# run: npm install

# - name: NPM Code Coverage
# run: NODE_ENV=deploy npm run coverage
# continue-on-error: true


# - name: list
# run: ls -ltr

# - name: Code Coverage Annotation
# uses: ggilder/codecoverage@v1
# with:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# COVERAGE_FILE_PATH: "./coverage/lcov.info"
# COVERAGE_FORMAT: "lcov"
51 changes: 0 additions & 51 deletions .github/workflows/solar-system.ymlz

This file was deleted.

Loading