diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml deleted file mode 100644 index 01debc6..0000000 --- a/.github/workflows/pypi-publish.yml +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2024 CERN. -# -# Invenio-CERN-sync is free software; you can redistribute it and/or modify it -# under the terms of the MIT License; see LICENSE file for more details. - -name: Publish - -on: - push: - tags: - - v* - -jobs: - build-n-publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - name: Set up Python 3.12 - uses: actions/setup-python@v5 - with: - python-version: 3.12 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel babel - - name: Build package - run: | - python setup.py sdist bdist_wheel - - name: pypi-publish - uses: pypa/gh-action-pypi-publish@v1.13 - with: - user: __token__ - - password: ${{ secrets.pypi_token }} diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 2995e5e..0000000 --- a/MANIFEST.in +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2024 CERN. -# -# Invenio-CERN-sync is free software; you can redistribute it and/or modify it -# under the terms of the MIT License; see LICENSE file for more details. - -# TODO: Generate this manifest file by running the following commands: -# (please sort the lines in this file after running below commands) -# -# git init -# git add -A -# pip install -e .[all] -# check-manifest -u - -include .dockerignore -include .editorconfig -recursive-include .github/workflows *.yml -include *.md -include *.sh -include .pyproject.toml -recursive-include invenio_cern_sync *.py -recursive-include tests *.py diff --git a/run-tests.sh b/run-tests.sh index ab204fc..b0a4a33 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -22,7 +22,6 @@ function cleanup() { } trap cleanup EXIT -python -m check_manifest eval "$(docker-services-cli up --db ${DB:-postgresql} --search ${SEARCH:-opensearch2} --cache ${CACHE:-redis} --mq ${MQ:-rabbitmq} --env)" python -m pytest tests_exit_code=$?