diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..c2d2dd276 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: Lint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Run commitlint + run: | + mkdir "${HOME}/.npm-packages" + npm config set prefix "${HOME}/.npm-packages" + export PATH="$PATH:$NPM_PACKAGES/bin" + npm install -g @commitlint/cli @commitlint/config-conventional + echo "module.exports = {extends: [\"@commitlint/config-conventional\"]}" > commitlint.config.js + npx commitlint --from=origin/master + - name: Run black + run: | + pip3 install --pre black==19.10b0 + python3 -m black --check . diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..f9dea53c3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,71 @@ +name: CI + +on: [push] + +jobs: + test-3-6: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: "3.6" + - name: Test py36 + run: | + pip3 install tox + python3 -m tox -e py36 + test-3-7: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: "3.7" + - name: Test py37 + run: | + pip3 install tox + python3 -m tox -e py37 + test-3-8: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: "3.8" + - name: Test py38 + run: | + pip3 install tox + python3 -m tox -e py38 + test-docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: "3.8" + - name: Test py38 + run: | + pip3 install tox + python3 -m tox -e docs + test-py_func_v4: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: "3.8" + - name: Test py38 + run: | + pip3 install tox + python3 -m tox -e py_func_v4 + test-cli_func_v4: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: "3.8" + - name: Test py38 + run: | + pip3 install tox + python3 -m tox -e cli_func_v4 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 83d2d3391..000000000 --- a/.travis.yml +++ /dev/null @@ -1,69 +0,0 @@ -sudo: required -services: - - docker -language: python - -git: - depth: false - -stages: - - lint - - test - -jobs: - include: - - stage: lint - name: commitlint - script: - - npm install -g @commitlint/cli @commitlint/config-conventional - - 'echo "module.exports = {extends: [\"@commitlint/config-conventional\"]}" > commitlint.config.js' - - npx commitlint --from=origin/master - - stage: lint - name: black_lint - dist: bionic - python: 3.8 - script: - - pip3 install -U --pre black - - black --check . - - stage: test - name: cli_func_v4 - dist: bionic - python: 3.8 - script: - - pip3 install tox - - tox -e cli_func_v4 - - stage: test - name: py_func_v4 - dist: bionic - python: 3.8 - script: - - pip3 install tox - - tox -e py_func_v4 - - stage: test - name: docs - dist: bionic - python: 3.8 - script: - - pip3 install tox - - tox -e docs - - stage: test - name: py36 - python: 3.6 - dist: bionic - script: - - pip3 install tox - - tox -e py36 - - stage: test - name: py37 - dist: bionic - python: 3.7 - script: - - pip3 install tox - - tox -e py37 - - stage: test - dist: bionic - name: py38 - python: 3.8 - script: - - pip3 install tox - - tox -e py38 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy