Skip to content

Commit

Permalink
Merge pull request #18 from Syriiin/update-to-latest-difficalcy
Browse files Browse the repository at this point in the history
Update difficalcy and performanceplus + other improvements
  • Loading branch information
Syriiin authored Oct 29, 2024
2 parents 8d6cfa5 + 18dce4f commit 9045295
Show file tree
Hide file tree
Showing 10 changed files with 1,009 additions and 47 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,19 @@ updates:
- "/Difficalcy.PerformancePlus.Tests"
schedule:
interval: "daily"
- package-ecosystem: "pip"
directory: "/docs"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/.github/workflows"
schedule:
interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
6 changes: 6 additions & 0 deletions .github/workflows/test-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ jobs:
with:
submodules: true
- run: make check-api-reference

check-docs-build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make build-docs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="xunit" Version="2.8.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ start-dev: build-dev ## Starts development environment
clean-dev: ## Cleans development environment
$(COMPOSE_APP_DEV) down --remove-orphans

reset-dev: ## Resets development environment
$(COMPOSE_APP_DEV) down --remove-orphans --volumes

update-api-reference: ## Updates OpenAPI schemas in docs site
$(COMPOSE_TOOLING_RUN) scripts/update-api-reference.sh

Expand Down
8 changes: 5 additions & 3 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ FROM python:3.12-alpine3.19

RUN apk add --no-cache tini

RUN pip install poetry=="1.8.3"

WORKDIR /docs

COPY requirements.txt .
COPY pyproject.toml poetry.lock ./

RUN pip install --no-cache-dir -r requirements.txt
RUN poetry install --no-cache

COPY . .

EXPOSE 8000

ENTRYPOINT [ "/sbin/tini", "--", "mkdocs" ]
ENTRYPOINT [ "/sbin/tini", "--", "poetry", "run", "mkdocs" ]

CMD [ "serve", "--dev-addr=0.0.0.0:8000"]
958 changes: 958 additions & 0 deletions docs/poetry.lock

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[tool.poetry]
name = "difficalcy-performanceplus-docs"
description = ""
authors = ["Samuel Cattini-Schultz <[email protected]>"]
package-mode = false

[tool.poetry.dependencies]
python = "^3.12"
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.42"
neoteroi-mkdocs = "^1.1.0"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
39 changes: 0 additions & 39 deletions docs/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion osu
Submodule osu updated 1045 files

0 comments on commit 9045295

Please sign in to comment.