-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This took quite some time to complete! Kumiko is officially stable and now uses asyncpg as the core SQL driver. Along with that, the long-awaited EventsLog and Prefix modules have been implemented and are now working. Kumiko is nearly done with v0 development, and all there is left is to add a couple more features (tags and the economy system) and finally, this project will be fully deployed to production. For more info, please consult the changelog. ~ Noelle ❤️
- Loading branch information
Showing
131 changed files
with
5,841 additions
and
2,665 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -8,37 +8,42 @@ on: | |
branches: | ||
- dev | ||
|
||
env: | ||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres | ||
# env: | ||
# DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres | ||
|
||
jobs: | ||
Analyze: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
postgres: | ||
image: postgres:15 | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: postgres | ||
ports: | ||
- 5432:5432 | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
# services: | ||
# postgres: | ||
# image: postgres:15 | ||
# env: | ||
# POSTGRES_USER: postgres | ||
# POSTGRES_PASSWORD: postgres | ||
# POSTGRES_DB: postgres | ||
# ports: | ||
# - 5432:5432 | ||
# options: >- | ||
# --health-cmd pg_isready | ||
# --health-interval 10s | ||
# --health-timeout 5s | ||
# --health-retries 5 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: [3.8, 3.9, '3.10', '3.11'] | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python 3.11 | ||
- name: Set up Python ${{ matrix.version }} | ||
id: setup-python | ||
uses: actions/setup-python@v4.5.0 | ||
uses: actions/setup-python@v4.6.1 | ||
with: | ||
python-version: '3.11' | ||
python-version: ${{ matrix.version }} | ||
|
||
- name: Set up Poetry | ||
uses: Gr1N/setup-poetry@v8 | ||
|
@@ -48,17 +53,17 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: ~/.cache/pypoetry/virtualenvs | ||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} | ||
key: ${{ runner.os }}-poetry-lint-${{ matrix.version }}-${{ hashFiles('**/poetry.lock') }} | ||
|
||
- name: Install Poetry Dependencies | ||
if: steps.cache-poetry.outputs.cache-hit != 'true' | ||
run: | | ||
poetry install --with dev | ||
- name: Generate Prisma Client | ||
run: | | ||
poetry run prisma db push | ||
- name: Run Pyright | ||
run: | | ||
poetry run pyright Bot | ||
- name: Run Ruff | ||
run: | | ||
poetry run ruff Bot |
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
Oops, something went wrong.