Commit 94c37b9d authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

tests: use github workflow for nbsp char check



Let's use a github workflow instead of travis for this.

With this commit we can get rid of Travis.
Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
parent 195d88fc
name: check-nbsp
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
language: python
python:
- "3.6"
- "3.7"
- "3.8"
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
install:
- pip install -r tests/requirements.txt
script:
- if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment