Skip to content

Commit

Permalink
Create local-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen authored Apr 2, 2024
1 parent 29a55ee commit 108e55f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/local-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Run Local Tests

on:
workflow_dispatch:

jobs:
test:
name: Run Local Tests
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

steps:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20.10.0"

- name: Action Test
uses: gentlementlegen/conversation-rewards@feat/cli-issue-url
with:
issue_url: "https://github.com/ubiquibot/comment-incentives/issues/22"

1 comment on commit 108e55f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines Statements Branches Functions
Coverage: 84%
84.64% (248/293) 67.96% (87/128) 91.42% (64/70)

JUnit

Tests Skipped Failures Errors Time
14 0 💤 0 ❌ 0 🔥 11.102s ⏱️
Coverage Report (84%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files84.6467.9691.4284.89 
src78.8265.3880.7681.48 
   get-authentication-token.ts88.887510088.889
   github-types.ts100100100100 
   issue-activity.ts90.96510090.6954–55, 82, 112
   start.ts58.065061.5364.2893–110, 122
src/configuration100100100100 
   config-reader.ts100100100100 
   constants.ts100100100100 
   content-evaluator-config.ts100100100100 
   formatting-evaluator-config.ts100100100100 
   user-extractor-config.ts100100100100 
src/data-collection80.9557.1410078.94 
   collect-linked-pulls.ts80.9557.1410078.9429–33
src/parser8770.4597.2286.39 
   command-line.ts100100100100 
   content-evaluator-module.ts83.585510081.6620–21, 53–54, 94–95, 105–109, 139
   data-purge-module.ts100100100100 
   formatting-evaluator-module.ts92.55510092.372–73, 85
   processor.ts91.4283.3310091.4230–31, 68
   user-extractor-module.ts7676.1983.337616–17, 34, 47, 49–50

Please sign in to comment.