Skip to content
Snippets Groups Projects
Unverified Commit c734b2c5 authored by Oliver Smith's avatar Oliver Smith
Browse files
parent 67fe5a62
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ tasks:
- vermin: |
cd pmbootstrap
sudo .ci/vermin.sh
- codespell: |
cd pmbootstrap
sudo .ci/codespell.sh
- pytest: |
cd pmbootstrap
sudo .ci/pytest.sh
......
#!/bin/sh -ex
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2023 Oliver Smith
# Description: find typos
# https://postmarketos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add \
py3-codespell
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
# -L: words to ignore
codespell \
-L crate \
-L hda \
.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment