Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

[lib] Add tests #41

Merged
merged 4 commits into from
Aug 2, 2023
Merged
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
10 changes: 7 additions & 3 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Develop Check
on:
push:
branches:
- 'develop'
- "develop"

jobs:
test-build:
develop_check:
name: Develop Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -16,4 +17,7 @@ jobs:
run: npm install

- name: Build code
run: npm run build
run: npm run build

- name: Run tests
run: npm run test
14 changes: 11 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ name: Pull Request Check
on:
pull_request:
branches:
- '**'
- "**"

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
test-pr:
pr_check:
name: PR Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -16,4 +21,7 @@ jobs:
run: npm install

- name: Build code
run: npm run build
run: npm run build

- name: Run tests
run: npm run test
42 changes: 42 additions & 0 deletions gpt-turbo.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"folders": [
{
"name": "lib",
"path": "packages/lib"
},
{
"name": "web",
"path": "packages/implementations/web"
},
{
"name": "stats",
"path": "packages/plugins/gpt-turbo-plugin-stats"
},
{
"name": "discord",
"path": "packages/implementations/discord"
},
{
"name": "cli",
"path": "packages/implementations/cli"
},
{
"name": "nest",
"path": "packages/implementations/nest"
},
{
"name": "root",
"path": "."
}
],
"settings": {
"jest.disabledWorkspaceFolders": [
"web",
"discord",
"stats",
"nest",
"cli",
"root"
]
}
}
Loading
Loading