diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 808900d39..df14416cb 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,12 +1,13 @@ +--- name: Lint -on: [push, pull_request] +on: [ push, pull_request ] jobs: Python: runs-on: ubuntu-latest strategy: max-parallel: 2 matrix: - python-version: [2.7, 3.7] + python-version: [ 2.7, 3.7 ] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.travis.yml b/.travis.yml index 9c50b6381..f76daad91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ --- language: python -python: "2.7" +python: "3.7" sudo: required dist: trusty @@ -11,9 +11,7 @@ addons: - python-pip install: - # Install yamllint - - pip install yamllint + - pip3 install yamllint script: - # Check YAML validity - yamllint -c yamllint.yml .