MRG: Merge pull request #12 from octue/update #32
This file contains 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: ci | |
on: | |
push: | |
jobs: | |
run-tests: | |
if: "!contains(github.event.head_commit.message, 'skipci')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1.3.2 | |
- name: Check pyproject.toml file | |
run: poetry check | |
- name: Install package | |
run: poetry install | |
- name: Run tests | |
env: | |
NEO4J_PASSWORD: this-will-not-work | |
NEO4J_URI: neo4j+s://some-database.neo4j.io | |
NEO4J_USERNAME: this-will-not-work | |
run: poetry run python -m unittest |