diff --git a/.github/workflows/check-patch.yaml b/.github/workflows/check-patch.yaml deleted file mode 100644 index 6442f6a17..000000000 --- a/.github/workflows/check-patch.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Lint Python - -on: [push, pull_request] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 - with: - python-version: 3.8 - - name: Install requirements - run: pip install ".[all,tests]" Pygments collective.checkdocs pre-commit - - name: Check README - run: python setup.py checkdocs - - name: Check formatting - run: pre-commit run --all-files diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5803d7f60..4582e6683 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,9 +8,24 @@ env: SHELL: /bin/bash jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install requirements + run: pip install ".[all,tests]" Pygments collective.checkdocs pre-commit + - name: Check README + run: python setup.py checkdocs + - name: Check formatting + run: pre-commit run --all-files tests: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-18.04, windows-2019, macos-10.15] pyv: [3.6, 3.7, 3.8] diff --git a/scripts/build_package.sh b/scripts/build_package.sh index 4818d7a6e..a579cfffd 100755 --- a/scripts/build_package.sh +++ b/scripts/build_package.sh @@ -12,18 +12,3 @@ echo 'PKG = "pip"' >dvc/utils/build.py python setup.py sdist python setup.py bdist_wheel --universal - -# Make sure we have a correct version -if [[ -n "$TRAVIS_TAG" ]]; then - pip uninstall -y dvc - if which dvc; then - echo "ERROR: dvc command still exists! Unable to verify dvc version." >&2 - exit 1 - fi - pip install dist/dvc-*.whl - if [[ "$(dvc --version)" != "$TRAVIS_TAG" ]]; then - echo "ERROR: 'dvc --version'$(dvc -V) doesn't match '$TRAVIS_TAG'" >&2 - exit 1 - fi - pip uninstall -y dvc -fi