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
7b3bda1d
Commit
7b3bda1d
authored
Mar 07, 2025
by
Nikola Balog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add automatic test (copied from original Github, modified for Gitlab)
parent
f29d401c
Pipeline
#40219
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
.gitlab-ci.yml
.gitlab-ci.yml
+39
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
7b3bda1d
stages
:
-
lint
-
test
lint
:
stage
:
lint
image
:
python:3.13
before_script
:
-
apt update && apt install -y curl
-
curl -LsSf https://astral.sh/uv/install.sh | sh
-
export PATH="$HOME/.local/bin:$PATH"
-
uv sync --all-extras --dev
-
uv tool install pre-commit
script
:
-
uvx ruff format --diff
-
uvx pre-commit run -a
only
:
-
master
-
merge_requests
build_and_test
:
stage
:
test
image
:
python:3.10
# Default image (overwritten by matrix)
needs
:
[
lint
]
parallel
:
matrix
:
-
PYTHON_VERSION
:
[
"
3.9"
,
"
3.10"
,
"
pypy-3.10"
]
before_script
:
-
apt update && apt install -y curl
-
curl -LsSf https://astral.sh/uv/install.sh | sh
-
export PATH="$HOME/.local/bin:$PATH"
-
uv sync --all-extras --dev
-
uv tool install mypy
-
uv tool install ruff
script
:
-
uv run pytest -v -s tests/
only
:
-
master
-
merge_requests
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