-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Rename and standardize all GH workflows, and add an assistants…
…_web check (#823) * Rename and standardize all GH workflows, and add an assistants_web check * Fix naming issue * test with new actions * fix frontend tests * Fix destination
- Loading branch information
1 parent
083b530
commit fd3fc84
Showing
13 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: js-install | ||
description: Set up Node.js/npm, install dependencies | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: "src/interfaces/assistants_web/.nvmrc" | ||
cache: "npm" | ||
cache-dependency-path: "src/interfaces/assistants_web/package-lock.json" | ||
|
||
- name: Install dependencies with npm | ||
shell: bash | ||
working-directory: src/interfaces/assistants_web | ||
run: npm ci |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.github/workflows/check_revision_id.yml → .github/workflows/alembic_duplicates.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Check for duplicate revision IDs | ||
name: Alembic - No duplicate IDs | ||
|
||
on: | ||
pull_request: | ||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/run_alembic_migrations.yml → .github/workflows/alembic_migrations.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Backend integration tests | ||
name: Backend - Integration tests | ||
|
||
on: | ||
push: | ||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/python-lint.yml → .github/workflows/backend_lint.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Python Lint | ||
name: Backend - Lint | ||
|
||
on: | ||
push: | ||
|
2 changes: 1 addition & 1 deletion
2
.github/workflows/python-typecheck.yml → .github/workflows/backend_typecheck.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Typecheck newly added Python files | ||
name: Backend - Typecheck new files | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Backend unit tests | ||
name: Backend - Unit tests | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Create and publish backend image | ||
name: Backend - Create and publish Docker image | ||
|
||
on: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Create and publish frontend image | ||
name: Frontend - Create and publish Docker image | ||
|
||
on: | ||
release: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Assistants Web - Format and build | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- src/interfaces/assistants_web/** | ||
pull_request: {} | ||
merge_group: {} | ||
|
||
jobs: | ||
interface_tests: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: src/interfaces/assistants_web | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
- name: Set up Node.js and install dependencies | ||
uses: ./.github/actions/assistants-web-install | ||
- name: Check assistants_web is formatted | ||
run: npm run format | ||
- name: Check assistants_web can build | ||
run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.github/workflows/slack_bot_tests.yml → ...ub/workflows/frontend_slack_bot_tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Slack Bot Tests | ||
name: Slack Bot - Format and build | ||
|
||
on: | ||
push: | ||
|