[docs] Fix typo: 'vide' -> 'wide' in README (#485) #515
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Neo4J Docker Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build Neo4j Docker image | |
| run: | | |
| docker build -t neo4j-service -f deployment/development/docker/neo4j/Dockerfile . | |
| - name: Run Neo4j container | |
| run: | | |
| docker run -d \ | |
| --name neo4j-test \ | |
| -p 7474:7474 \ | |
| -p 7687:7687 \ | |
| -e NEO4J_AUTH=neo4j/test123456 \ | |
| neo4j-service | |
| sleep 20 # Wait for Neo4j to start | |
| - name: Set up Mamba | |
| uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| channels: conda-forge,defaults | |
| channel-priority: strict | |
| activate-environment: ldf-tests | |
| environment-file: environment.yml | |
| auto-activate-base: false | |
| miniconda-version: "latest" | |
| - name: Install mamba | |
| shell: bash -l {0} | |
| run: | | |
| conda install -n base -c conda-forge mamba | |
| - name: Set Neo4j environment variables | |
| run: | | |
| echo "NEO4J_TESTING_DB_URI=bolt://localhost:7687" >> $GITHUB_ENV | |
| echo "NEO4J_TESTING_USERNAME=neo4j" >> $GITHUB_ENV | |
| echo "NEO4J_TESTING_PASSWORD=test123456" >> $GITHUB_ENV | |
| - name: Run tests | |
| shell: bash -l {0} | |
| run: | | |
| mamba run -n ldf-tests python -m pytest opengin/tests/neo4j/test_local_instance.py -v | |
| - name: Cleanup | |
| if: always() | |
| run: | | |
| docker stop neo4j-test || true | |
| docker rm neo4j-test || true |