diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 26c27e14..f7406bd0 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -32,8 +32,8 @@ steps: - git fetch -tq - python3 setup.py sdist # test pip installable sdist (checks MANIFEST.in) - git archive -o dist/chempy-head.zip HEAD # test pip installable zip (symlinks break) - - mkdir -p deploy/public_html/branches/${DRONE_BRANCH} - - cp dist/chempy-* deploy/public_html/branches/${DRONE_BRANCH}/ + - mkdir -p deploy/public_html/branches/${CI_COMMIT_BRANCH} + - cp dist/chempy-* deploy/public_html/branches/${CI_COMMIT_BRANCH}/ - name: test-suite image: bjodah/bjodahimg20dot:21.8.a @@ -53,12 +53,12 @@ steps: - bash -c '[[ $(python3 setup.py --version) =~ ^[0-9]+.* ]]' - ./scripts/run_tests.sh --cov chempy --cov-report html - ./scripts/coverage_badge.py htmlcov/ htmlcov/coverage.svg - - cp -r htmlcov/ deploy/public_html/branches/${DRONE_BRANCH}/ + - cp -r htmlcov/ deploy/public_html/branches/${CI_COMMIT_BRANCH}/ - ./.ci/grep-for-merge-blocking-token.sh - export CHEMPY_DEPRECATION_FILTER=ignore - python3 -m virtualenv /tmp/test_sdist - python3 -m virtualenv /tmp/test_git_archive - - cd deploy/public_html/branches/${DRONE_BRANCH} + - cd deploy/public_html/branches/${CI_COMMIT_BRANCH} - unset CHEMPY_SKIP_NO_TESTS # I can't get pip to install extras when using local file... - bash -c "source /tmp/test_sdist/bin/activate; pip install --cache-dir $CACHE_ROOT/pip_cache file://$(realpath $(eval ls chempy-*.tar.gz))#chempy[all] pytest; pytest --pyargs chempy" - bash -c "source /tmp/test_git_archive/bin/activate; pip install --cache-dir $CACHE_ROOT/pip_cache file://$(realpath chempy-head.zip)#chempy[all] pytest; pytest --pyargs chempy" @@ -81,7 +81,7 @@ steps: - ./scripts/render_notebooks.sh - ./.ci/grep-for-binary-data.sh - mv index.html index.ipynb.html - - cp -r index.* examples/ "deploy/public_html/branches/${DRONE_BRANCH}" + - cp -r index.* examples/ "deploy/public_html/branches/${CI_COMMIT_BRANCH}" depends_on: - install @@ -97,7 +97,7 @@ steps: - export LD_LIBRARY_PATH=$SUNDBASE/lib - ./scripts/generate_docs.sh - cp LICENSE doc/_build/html/ - - cp -r doc/_build/html/ deploy/public_html/branches/${DRONE_BRANCH} + - cp -r doc/_build/html/ deploy/public_html/branches/${CI_COMMIT_BRANCH} depends_on: - test-suite - render-notebooks