Skip to content

fixed invalid bookmark spec #893

fixed invalid bookmark spec

fixed invalid bookmark spec #893

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: TestKit
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ 4.4 ]
pull_request:
branches: [ 4.4 ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "testkit"
testkit:
# The type of runner that the job will run on
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.ruby[0] == 'ruby' }}
timeout-minutes: 60
strategy:
# max-parallel: 1
fail-fast: false
matrix:
ruby:
- [jruby, 9.3.4.0]
- [jruby, 9.4.6.0]
- [ruby, 3.1.5]
tests:
- TESTKIT_TESTS
- STUB_TESTS
- TLS_TESTS
steps:
- uses: actions/checkout@v3
with:
path: driver
- name: Checkout TestKit (testing tool)
uses: actions/checkout@v3
with:
repository: neo4j-drivers/testkit
path: testkit
ref: 4.4
- name: Install dependencies
run: |
sudo apt-get update
# install docker
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
# Python (needed for dummy driver and TestKit)
sudo apt-get install python3 python3-pip
# Runs a single command using the runners shell
- name: Run TestKit
env:
# to learn what these variables do, see https://github.com/neo4j-drivers/testkit
TESTKIT_DRIVER_BUILD_ARG_RUBY: ${{ join(matrix.ruby, ':') }}
TEST_DRIVER_NAME: ruby
TEST_DRIVER_REPO: ${{ github.workspace }}/driver
TEST_RUN_ALL_TESTS: "true"
# TEST_DEBUG_REQRES: "true"
run: |
cd testkit
# everything from --run-only-selected is to reduce the number of tests run in this
# demonstation setup. In a real setup, you most likely don't want this.
python3 main.py --tests ${{ matrix.tests }}
# --configs 4.3-enterprise --run-only-selected tests.neo4j.datatypes.TestDataTypes.test_should_echo_back
- name: Archive testkit artifacts
if: failure()
uses: actions/upload-artifact@v2
with:
name: artifacts ${{ matrix.ruby[0] }}
path: ${{ github.workspace }}/testkit/artifacts