-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Migrate the project to uv * Fix some tests failing * Fix oopsie * Add aioredis and aiosqlite to all extra * me when im dumb
- Loading branch information
Showing
19 changed files
with
2,067 additions
and
238 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 |
---|---|---|
|
@@ -14,6 +14,9 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
|
||
- name: install nox | ||
run: | | ||
python -m pip install nox | ||
|
@@ -36,6 +39,9 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
|
||
- name: install nox | ||
run: | | ||
python -m pip install nox | ||
|
@@ -57,36 +63,40 @@ jobs: | |
# retention-days: 1 | ||
# if-no-files-found: error | ||
|
||
# upload-coverage: | ||
# needs: [test] | ||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
# - name: Checkout repo | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Setup python 3.10 | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: "3.10" | ||
|
||
# - name: Download coverage | ||
# uses: actions/download-artifact@v3 | ||
# with: | ||
# name: coverage | ||
|
||
# - name: Combine coverage | ||
# run: | | ||
# pip install -r ./genshin-dev/pytest-requirements.txt | ||
# coverage combine | ||
# coverage xml -i | ||
|
||
# - name: Upload coverage to codeclimate | ||
# uses: paambaati/[email protected] | ||
# env: | ||
# CC_TEST_REPORTER_ID: cd8c7d84ae5f98d86882d666dce0946fe5aae1e63f442995bd9c6e17869e6513 | ||
# with: | ||
# coverageLocations: .coverage.xml:coverage.py | ||
upload-coverage: | ||
needs: [test] | ||
runs-on: ubuntu-latest | ||
if: false # Temporarily disabled | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
|
||
- name: Download coverage | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: coverage | ||
|
||
- name: Combine coverage | ||
run: | | ||
pip install -r ./genshin-dev/pytest-requirements.txt | ||
coverage combine | ||
coverage xml -i | ||
- name: Upload coverage to codeclimate | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: cd8c7d84ae5f98d86882d666dce0946fe5aae1e63f442995bd9c6e17869e6513 | ||
with: | ||
coverageLocations: .coverage.xml:coverage.py | ||
|
||
type-check: | ||
runs-on: ubuntu-latest | ||
|
@@ -99,6 +109,9 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
|
||
- name: install nox | ||
run: | | ||
python -m pip install nox | ||
|
@@ -117,6 +130,9 @@ jobs: | |
with: | ||
python-version: "3.10" | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
|
||
- name: install nox | ||
run: | | ||
python -m pip install nox | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"""ZZZ chronicle models.""" | ||
|
||
from .challenge import * | ||
from .month_info import * | ||
from .notes import * | ||
from .stats import * | ||
from .month_info import * |
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.