diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ab0ecc8..59f9c06 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -24,18 +24,30 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ 3.7 ] - tensorflow: [ 2.2.1 ] - poetry-version: [ 1.1.6 ] + python-version: [3.7] + tensorflow: [2.2.1] + poetry-version: [1.1.6] + name: Python-${{ matrix.python-version }} tensorflow${{ matrix.tensorflow }} + env: + VERSION_TF: ${{ matrix.tensorflow }} steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: ${{ matrix.python-version }} - name: Run image uses: abatilo/actions-poetry@v2.0.0 - - run: | - poetry install + with: + poetry-version: ${{ matrix.poetry-version }} + - uses: actions/cache@v2 + with: + path: ${{ env.pythonLocation }} + key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('notebook_requirements.txt') }}-${{ hashFiles('tests_requirements.txt') }} + # ------------ install markovflow + - name: Install package + run: poetry install + - name: make documentation + run: | cd docs pip install -r doc_requirements.txt make docs