Skip to content

Commit

Permalink
Prepare project archival
Browse files Browse the repository at this point in the history
Final changes after moving the repository.
Fix some parts of the CI, disable others.
Add a script to prepare py2neo-archive distributions.
  • Loading branch information
robsdedude committed Oct 20, 2023
1 parent 7f57cbe commit 75adcff
Show file tree
Hide file tree
Showing 36 changed files with 2,416 additions and 121 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -32,4 +32,4 @@ jobs:
run: |
RELEASE=${{ steps.get_version.outputs.VERSION }} python setup.py sdist bdist_wheel
twine upload dist/*
READTHEDOCS_TOKEN="${{ secrets.READTHEDOCS_TOKEN }}" bin/publish-docs ${{ steps.get_version.outputs.VERSION }}
# READTHEDOCS_TOKEN="${{ secrets.READTHEDOCS_TOKEN }}" bin/publish-docs ${{ steps.get_version.outputs.VERSION }}
29 changes: 22 additions & 7 deletions .github/workflows/test-neo34-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
test:

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["2.7"]

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
uses: MatteoH2O1999/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-java@v1
Expand All @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,24 @@ jobs:
env:
NEO4J_VERSION: '3.4'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
17 changes: 12 additions & 5 deletions .github/workflows/test-neo34-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '3.4'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
21 changes: 14 additions & 7 deletions .github/workflows/test-neo35-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
test:

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["2.7"]

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
uses: MatteoH2O1999/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-java@v1
Expand All @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '3.5'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
17 changes: 12 additions & 5 deletions .github/workflows/test-neo35-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '3.5'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
21 changes: 14 additions & 7 deletions .github/workflows/test-neo40-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
test:

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["2.7"]

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
uses: MatteoH2O1999/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-java@v1
Expand All @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '4.0'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
17 changes: 12 additions & 5 deletions .github/workflows/test-neo40-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '4.0'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
21 changes: 14 additions & 7 deletions .github/workflows/test-neo41-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
test:

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["2.7"]

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
uses: MatteoH2O1999/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-java@v1
Expand All @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '4.1'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
17 changes: 12 additions & 5 deletions .github/workflows/test-neo41-py35+.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '4.1'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
21 changes: 14 additions & 7 deletions .github/workflows/test-neo42-py27.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:
jobs:
test:

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["2.7"]

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
uses: MatteoH2O1999/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-java@v1
Expand All @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
pip install https://github.com/bboe/coveralls-python/archive/github_actions.zip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Perform legal checks
Expand All @@ -42,8 +41,16 @@ jobs:
env:
NEO4J_VERSION: '4.2'

- name: Set up Python for coverage
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Create lcov coverage report
run: |
pip install coverage
coverage lcov --rcfile="test/.coveragerc"
- name: Upload coverage
run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
Loading

0 comments on commit 75adcff

Please sign in to comment.