Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd4d089e

Browse files
committed
ci(gitlab-ci): create 'codestyle' and 'test' job for 'gcil' usage
Signed-off-by: Adrian DC <radian.dc@gmail.com>
1 parent968a900 commitd4d089e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

‎.gitlab-ci.yml‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
stages:
2+
-prepare
3+
-test
4+
5+
codestyle:
6+
stage:prepare
7+
image:python:3.12
8+
variables:
9+
POETRY_VIRTUALENVS_CREATE:false
10+
before_script:
11+
# Install dependencies
12+
-pip install poetry
13+
-poetry install
14+
script:
15+
# Format sources
16+
-./scripts/format
17+
18+
tests:
19+
stage:test
20+
image:python:3.12
21+
variables:
22+
POETRY_VIRTUALENVS_CREATE:false
23+
before_script:
24+
# Install dependencies
25+
-pip install poetry
26+
-poetry install
27+
script:
28+
# Format sources
29+
-./scripts/format
30+
# Run tests
31+
-./scripts/test

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp