From 60dc986947dff73acb094daf3aa694209fa3af71 Mon Sep 17 00:00:00 2001 From: Andrew Brookins Date: Tue, 2 Nov 2021 17:06:09 -0700 Subject: [PATCH] Bump version to test CI --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++-------- pyproject.toml | 2 +- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf722c7..c383c5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -152,15 +152,36 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.9 - - name: Install dependencies - run: - python -m pip install -U pip wheel twine - - name: Make dists - run: - python setup.py sdist bdist_wheel - - name: PyPI upload + + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: true + virtualenvs-in-project: true + installer-parallel: true + #---------------------------------------------- + # load cached venv if cache exists + #---------------------------------------------- + - name: Load cached venv + id: cached-poetry-dependencies + uses: actions/cache@v2 + with: + path: .venv + key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} + #---------------------------------------------- + # install dependencies if cache does not exist + #---------------------------------------------- + - name: Install dependencies + if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' + run: poetry install --no-interaction --no-root + #---------------------------------------------- + # install your root project, if required + #---------------------------------------------- + - name: Install library + run: poetry install --no-interaction + - name: PyPI upload env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} run: | - twine upload dist/* + make upload diff --git a/pyproject.toml b/pyproject.toml index 3a6e469..01de65c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redis-om" -version = "0.0.6" +version = "0.0.7" description = "A high-level library containing useful Redis abstractions and tools, like an ORM and leaderboard." authors = ["Andrew Brookins "] maintainers = ["Andrew Brookins "]