Skip to content
Snippets Groups Projects
Unverified Commit 8d9edb6c authored by Casey's avatar Casey :recycle:
Browse files

DONT MERGE: CI: skip lints

parent 32e4c1ae
No related branches found
No related tags found
No related merge requests found
......@@ -16,70 +16,70 @@ before_script: &global_before_scripts
- "adduser -D build"
stages:
- lint
# - lint
- deploy
- test
codespell:
stage: lint
script:
- ".ci/codespell.sh"
# codespell:
# stage: lint
# script:
# - ".ci/codespell.sh"
pytest:
stage: test
script:
- "apk -q add git"
- "su build -c 'git config --global user.email ci@ci'"
- "su build -c 'git config --global user.name CI'"
- "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- ".ci/pytest.sh"
after_script:
- "cp /home/build/.local/var/pmbootstrap/log_testsuite.txt ."
- "cp /home/build/.local/var/pmbootstrap/log.txt ."
artifacts:
when: on_failure
paths:
- "log_testsuite.txt"
- "log.txt"
# pytest:
# stage: test
# script:
# - "apk -q add git"
# - "su build -c 'git config --global user.email ci@ci'"
# - "su build -c 'git config --global user.name CI'"
# - "echo 'build ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
# - ".ci/pytest.sh"
# after_script:
# - "cp /home/build/.local/var/pmbootstrap/log_testsuite.txt ."
# - "cp /home/build/.local/var/pmbootstrap/log.txt ."
# artifacts:
# when: on_failure
# paths:
# - "log_testsuite.txt"
# - "log.txt"
ruff:
stage: lint
script:
- ".ci/ruff.sh"
# ruff:
# stage: lint
# script:
# - ".ci/ruff.sh"
shellcheck:
stage: lint
script:
- ".ci/shellcheck.sh"
# shellcheck:
# stage: lint
# script:
# - ".ci/shellcheck.sh"
vermin:
stage: lint
script:
- ".ci/vermin.sh"
# vermin:
# stage: lint
# script:
# - ".ci/vermin.sh"
mr-settings:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
before_script:
- *global_before_scripts
- "apk -q add python3"
- "wget -q 'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'"
script:
- "python3 ./check_mr_settings.py"
# mr-settings:
# stage: lint
# rules:
# - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
# before_script:
# - *global_before_scripts
# - "apk -q add python3"
# - "wget -q 'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'"
# script:
# - "python3 ./check_mr_settings.py"
mypy:
stage: lint
script:
- ".ci/mypy.sh"
# mypy:
# stage: lint
# script:
# - ".ci/mypy.sh"
docs:
stage: lint
script:
- ".ci/docs.sh"
artifacts:
paths:
- public
# docs:
# stage: lint
# script:
# - ".ci/docs.sh"
# artifacts:
# paths:
# - public
deploy:
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment