Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
32f25f01
Commit
32f25f01
authored
Mar 07, 2025
by
Nikola Balog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
d16b61f6
Pipeline
#40223
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
7 deletions
+38
-7
.gitlab-ci.yml
.gitlab-ci.yml
+38
-7
No files found.
.gitlab-ci.yml
View file @
32f25f01
...
...
@@ -19,15 +19,46 @@ lint:
-
if
:
'
$CI_MERGE_REQUEST_ID'
# Run for merge requests
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
# Run on master branch
build_and_test
:
build_and_test
_3_9
:
stage
:
test
image
:
python:${PYTHON_VERSION}
needs
:
[
lint
]
parallel
:
matrix
:
-
PYTHON_VERSION
:
"
3.9"
-
PYTHON_VERSION
:
"
3.10"
-
PYTHON_VERSION
:
"
pypy-3.10"
image
:
python:3.9
# Using a specific Python version
before_script
:
-
apt update && apt install -y curl
-
curl -LsSf https://astral.sh/uv/install.sh | sh
-
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile
-
source ~/.profile
-
uv sync --all-extras --dev
-
uv tool install mypy
-
uv tool install ruff
script
:
-
uv run pytest -v -s tests/
rules
:
-
if
:
'
$CI_MERGE_REQUEST_ID'
# Run for merge requests
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
# Run on master branch
build_and_test_3_10
:
stage
:
test
needs
:
[
lint
]
image
:
python:3.10
# Using a specific Python version
before_script
:
-
apt update && apt install -y curl
-
curl -LsSf https://astral.sh/uv/install.sh | sh
-
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.profile
-
source ~/.profile
-
uv sync --all-extras --dev
-
uv tool install mypy
-
uv tool install ruff
script
:
-
uv run pytest -v -s tests/
rules
:
-
if
:
'
$CI_MERGE_REQUEST_ID'
# Run for merge requests
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
# Run on master branch
build_and_test_pypy
:
stage
:
test
needs
:
[
lint
]
image
:
python:pypy-3.10
# Using PyPy version
before_script
:
-
apt update && apt install -y curl
-
curl -LsSf https://astral.sh/uv/install.sh | sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment