Skip to content

Commit

Permalink
Merge pull request #92 from yeoldegrove/fix_ci_2
Browse files Browse the repository at this point in the history
ci: add missing tab check and fix mlc
  • Loading branch information
yeoldegrove authored May 2, 2022
2 parents abd0734 + 157a8cd commit 6e49c5b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/salt-shaptools-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ on: [push, pull_request] # yamllint disable-line rule:truthy
env:
PACKAGE_NAME: salt-shaptools
jobs:
tab:
name: 'tabspace checking'
runs-on: ubuntu-20.04

# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
defaults:
run:
shell: bash

steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v2

- name: tab
run: make test-tab
codespell:
name: 'spell checking'
runs-on: ubuntu-20.04
Expand Down
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,7 @@ test-jsonlint:

# test-mlc: @ Run markup link checker
test-mlc:
mkdir -p aws/.terraform # make sure ingore-path exists
mlc --throttle 1000 \
--ignore-path \
**/.terraform \
**/venv \
**/saltvirtenv \
--ignore-links \
./terraform.tvars.example \
../pillar/*/*
mlc --throttle 1000

# test-python: @ Run Python Unit Tests
test-python:
Expand Down

0 comments on commit 6e49c5b

Please sign in to comment.