WIP Add CI #1

Open
Adrien wants to merge 39 commits from init-ci into develop
Owner
No description provided.
Adrien added 1 commit 2024-02-11 15:38:59 +00:00
👷 First try
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
a8277fd018
Adrien added 1 commit 2024-02-11 16:07:28 +00:00
👷 Run Ruff linter on back-end pull requests
All checks were successful
ci/woodpecker/manual/lint Pipeline was successful
7ac719db24
Adrien added 1 commit 2024-02-11 16:25:19 +00:00
💚 Don't run linters on master, develop and release/* branches
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline was successful
ff808e7c8f
Adrien added 1 commit 2024-02-11 16:41:24 +00:00
Run Mypy linter on backend pull requests
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed
c8732a0375
Adrien added 1 commit 2024-02-11 16:48:38 +00:00
💚 Run backend linters on commits only
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/pr/lint Pipeline failed
6687c2de15
Try to force the linters to run even if the previous one fails.
Adrien added 1 commit 2024-02-11 16:53:01 +00:00
💚 Force the linters to run even if the previous one fails.
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
10ecd40ef5
Adrien added 1 commit 2024-02-11 17:31:57 +00:00
🚧 First reviewdog try
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
bccbfe0ff3
Adrien added 1 commit 2024-02-11 17:35:38 +00:00
🚧 Fix reviewdog version and setup ruff
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
0cddf9dc7e
Adrien added 1 commit 2024-02-11 17:37:47 +00:00
🚧 Fix eviewdog path
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
137c28387c
Adrien added 1 commit 2024-02-11 17:39:11 +00:00
🚧 Fix typo
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
2eb8d59a0e
Adrien added 1 commit 2024-02-11 17:55:02 +00:00
🚧 Enable REVIEWDOG_GITEA_API_TOKEN
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
58c18a0479
Adrien added 1 commit 2024-02-11 18:05:53 +00:00
🚧 Add gitea_address secret
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
55401dcd0c
Adrien added 1 commit 2024-02-11 18:09:55 +00:00
🔊 Print env variables
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
a089bbbf78
Adrien added 1 commit 2024-02-11 18:13:52 +00:00
🚧 Try to run linters on pull_request event
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
63abb677cb
Adrien added 1 commit 2024-02-11 18:33:09 +00:00
🚧 Format reviewdog command and use temp file
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
812d7c0a61
Adrien added 1 commit 2024-02-11 18:35:23 +00:00
🚧 Fix reviewdog path
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
825a852c67
Adrien added 1 commit 2024-02-11 18:46:52 +00:00
🚧 Install dependencies before running the linters
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
63cdbcb46e
Adrien added 1 commit 2024-02-11 18:53:17 +00:00
🚧 Add gcc to the CI image
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
2d9d7c51b5
Adrien added 1 commit 2024-02-11 18:57:16 +00:00
🚧 Remove the deps installation and disable mypy caching
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
8082f7f012
Adrien added 1 commit 2024-02-11 18:59:42 +00:00
🚧 Run linters in poetry virtual environment
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
2b0eb40ab1
Adrien added 1 commit 2024-02-11 19:03:19 +00:00
🚧 Poetry shell -> poetry run
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
0993c42557
Adrien added 1 commit 2024-02-11 19:15:36 +00:00
🚧 Add the sqlalchemy dep to the linters poetry group
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
688ffeb7f8
Adrien added 1 commit 2024-02-11 20:05:09 +00:00
🔊 Increase reviewdog logs
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
35882bda31
Adrien added 1 commit 2024-02-11 20:32:34 +00:00
🚧 Disable reviewdog filter and create empty .reviewdog.yml file
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
529315bf50
Adrien added 1 commit 2024-02-11 20:39:16 +00:00
🚧 Redirect reviewdog stderr to stdout
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
117d549ea7
Adrien added 1 commit 2024-02-12 22:40:37 +00:00
🚧 Add dummy commit to check the reviewdog filter mode
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
f964ba9027
Adrien reviewed 2024-02-12 22:42:07 +00:00
@@ -18,13 +18,14 @@ from api.routers import line, stop
@asynccontextmanager
Author
Owner

🚫 [mypy] reported by reviewdog 🐶
Argument 1 to "asynccontextmanager" has incompatible type "CallableAny], None]"; expected "Callable[[Any], AsyncIterator[Never" [arg-type]

🚫 **[mypy]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>Argument 1 to "asynccontextmanager" has incompatible type "Callable[[Any], None]"; expected "Callable[[Any], AsyncIterator[Never]]" [arg-type]
@@ -19,3 +19,3 @@
@asynccontextmanager
async def lifespan(app: FastAPI):
async def lifespan(app: FastAPI) -> None:
Author
Owner

🚫 [mypy] reported by reviewdog 🐶
The return type of an async generator function should be "AsyncGenerator" or one of its supertypes [misc]

🚫 **[mypy]** <sub>reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:</sub><br>The return type of an async generator function should be "AsyncGenerator" or one of its supertypes [misc]
Adrien added 1 commit 2024-02-13 19:58:45 +00:00
Adrien added 1 commit 2024-02-13 21:10:05 +00:00
Adrien added 1 commit 2024-02-13 21:37:07 +00:00
Adrien added 1 commit 2024-02-13 21:57:51 +00:00
Adrien added 1 commit 2024-02-13 22:03:04 +00:00
Adrien added 1 commit 2024-02-13 22:06:13 +00:00
🚧 Add dummy commit
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
f1cafc7484
Adrien added 1 commit 2024-02-13 22:40:53 +00:00
🐛 Install poetry for each step
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
d4d24d13d2
Adrien added 1 commit 2024-02-14 21:50:53 +00:00
🎨 Prepare linters environment once
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
001c7330c6
Adrien added 1 commit 2024-02-14 21:58:38 +00:00
🚧 Edit PATH before loading python virtual env
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
06d446c3f9
Adrien added 1 commit 2024-02-14 22:07:18 +00:00
🚧 Skip the PATH update
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
99aeaae9f2
Adrien added 1 commit 2024-02-14 22:11:01 +00:00
🐛 Fix invalid running directory
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
71f7519b2f
Adrien added 1 commit 2024-02-14 22:24:48 +00:00
🐛 Fix invalid running directory (part 2)
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
94d87c1c0e
Adrien added 1 commit 2024-02-14 22:29:27 +00:00
🐛 Enable virtual env before running poetry
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ce671f4b10
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin init-ci:init-ci
git checkout init-ci
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Adrien/carrramba-encore-rate#1
No description provided.