Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mrhlpr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
mrhlpr
Commits
ace6b2df
Verified
Commit
ace6b2df
authored
1 month ago
by
Newbyte
Browse files
Options
Downloads
Patches
Plain Diff
CI: Use install_mypy.sh
Reduces repetition.
parent
7c5ee23d
No related branches found
No related tags found
1 merge request
!71
CI: Use install_mypy.sh
Pipeline
#217173
passed
1 month ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ci/mypy.sh
+2
-1
2 additions, 1 deletion
.ci/mypy.sh
.ci/native-build.sh
+2
-5
2 additions, 5 deletions
.ci/native-build.sh
with
4 additions
and
6 deletions
.ci/mypy.sh
+
2
−
1
View file @
ace6b2df
...
...
@@ -4,7 +4,8 @@
if
[
"
$(
id
-u
)
"
=
0
]
;
then
set
-x
apk
-q
add py3-argcomplete py3-gitlab py3-mypy
wget https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_mypy.sh
sh ./install_mypy.sh py3-argcomplete py3-gitlab
exec
su
"
${
TESTUSER
:-
build
}
"
-c
"sh -e
$0
"
fi
...
...
This diff is collapsed.
Click to expand it.
.ci/native-build.sh
+
2
−
5
View file @
ace6b2df
...
...
@@ -4,14 +4,11 @@
if
[
"
$(
id
-u
)
"
=
0
]
;
then
set
-x
apk
-q
add gcc musl-dev py3-argcomplete py3-gitlab py3-pip python3-dev
wget https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/install_mypy.sh
sh ./install_mypy.sh py3-argcomplete py3-gitlab
--with-mypyc
exec
su
"
${
TESTUSER
:-
build
}
"
-c
"sh -e
$0
"
fi
set
-x
# mypyc from Alpine may be an old version. Given mypyc's early development
# status, install it from pypi instead to ensure we don't have to deal with
# working around bugs that already have been fixed in newer versions.
pip
install
--break-system-packages
--no-warn-script-location
mypy
python
-m
mypyc mrtest mrhlpr
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment