Skip to content

Commit 8645e29

Browse files
committed
tidy up CI pipeline
1 parent f864a26 commit 8645e29

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/testing.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ env:
2525
FORCE_COLOR: "1" # Force color output in CI
2626

2727
jobs:
28-
# Verifies pep8, pyflakes and circular complexity
29-
flake8:
30-
name: 🚨 Lint Python Code
28+
# Verifies pep8, pyflakes, circular complexity, and spelling
29+
lint:
30+
name: 🚨 Lint and spellcheck
3131
runs-on: ubuntu-latest
3232
steps:
3333
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -39,18 +39,10 @@ jobs:
3939
python-version: ${{ env.PYTHON_VERSION }}
4040
- name: 🔽 Install flake8
4141
run: pip install flake8
42-
- name: Run checks
42+
- name: Lint Python code
4343
run: flake8 -v rocrate_validator tests
44-
45-
typos:
46-
name: 🚨 Spell check profiles
47-
runs-on: ubuntu-latest
48-
steps:
49-
- name: Checkout code
50-
uses: actions/checkout@v5
51-
- name: Spell check profiles
52-
uses: crate-ci/typos@v1.41.0
53-
44+
- name: ⌛ Spell check code and profiles (covers Python and SHACL)
45+
uses: crate-ci/typos@v1.41.0
5446

5547
# Runs the tests
5648
test:

0 commit comments

Comments
 (0)