chore(ci): remove poetry cache, which was causing tests to crash
@@ -51,23 +51,11 @@ jobs:
run: brew install -q graphviz rocksdb
- name: Install Poetry
run: pip -q --no-input install poetry
- - name: Get Poetry cache-dir
- id: poetry-install
- shell: bash
- run: echo ::set-output name=cache-dir::$(poetry config cache-dir)
- - name: Cache Poetry dependencies
- uses: actions/cache@v2
- id: poetry-cache
- # skip on Windows because `Compile protos` hangs
- if: matrix.os != 'windows-latest'
- with:
- path: ${{ steps.poetry-install.outputs.cache-dir }}
- key: ${{ runner.os }}-py${{ matrix.python }}-pypoetry-${{ hashFiles('poetry.lock') }}
- name: Install Poetry dependencies (with rocksdb)
- if: steps.poetry-cache.outputs.cache-hit != 'true' && matrix.os != 'windows-latest'
+ if: matrix.os != 'windows-latest'
run: poetry install -n -E rocksdb --no-root
- name: Install Poetry dependencies (without rocksdb)
- if: steps.poetry-cache.outputs.cache-hit != 'true' && matrix.os == 'windows-latest'
+ if: matrix.os == 'windows-latest'
run: poetry install -n --no-root
- name: Compile protos
run: poetry run make protos
