Skip to content

Commit

Permalink
mvp-HXLTM (#16): github actions, test
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Jun 26, 2021
1 parent a40fb5f commit 7b43246
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/05-deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7b43246

Please sign in to comment.