From 7b43246d9d6f36b59a0d0a54191bff691d096419 Mon Sep 17 00:00:00 2001 From: Emerson Rocha Date: Sat, 26 Jun 2021 18:31:13 -0300 Subject: [PATCH] mvp-HXLTM (#16): github actions, test --- .github/workflows/05-deploy-github-pages.yml | 18 ++++++++++++++++++ requirements.txt | 9 +++++++++ 2 files changed, 27 insertions(+) create mode 100644 requirements.txt diff --git a/.github/workflows/05-deploy-github-pages.yml b/.github/workflows/05-deploy-github-pages.yml index dece13b..c5f1ed3 100644 --- a/.github/workflows/05-deploy-github-pages.yml +++ b/.github/workflows/05-deploy-github-pages.yml @@ -39,6 +39,24 @@ jobs: - name: "openapi-generator-cli: generate files" run: bash ./_systema/programma/openapi-exportandum.sh + - name: "python: Setup Python" + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: "python: Cache pip" + uses: actions/cache@v2 + with: + # This path is specific to Ubuntu + path: ~/.cache/pip + # Look to see if there is a cache hit for the corresponding requirements file + key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- + ${{ runner.os }}- + - name: "python: Install dependencies" + run: pip install -r requirements.txt + - name: "Steps before Jekyll: CNAME" run: echo "hapi.etica.ai" > ./CNAME diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..aeb421d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +# Work in progress +# _[eng-Latn] This file may install the hdp-toolchain used mostly to +# export some HXL translation memory files to other formats. +# @see https://github.com/EticaAI/HXL-Data-Science-file-formats +# [eng-Latn]_ + +hdp-toolchain + +# @see https://docs.github.com/en/enterprise-server@2.22/actions/guides/building-and-testing-python