This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
Add Japanese translation of algorithms-design #4153
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
env: | |
# Disable Tensorflow information messages | |
TF_CPP_MIN_LOG_LEVEL: 3 | |
jobs: | |
test-run: | |
name: Run tests | |
if: github.event.pull_request.user.login != 'gitlocalize-app[bot]' | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: --max-old-space-size=8192 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: "npm" | |
- run: npm ci | |
- name: Install Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Load pip cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: py-${{ hashFiles('converter/textbook-converter/requirements.txt') }}-${{ hashFiles('converter/textbook-converter/requirements-test.txt') }} | |
- name: Install Python dependencies | |
run: pip install -r converter/textbook-converter/requirements.txt -r converter/textbook-converter/requirements-test.txt | |
- name: Apply configuration | |
run: npm run setup:secrets -- --mongo ${{ secrets.STAGING_MONGODB_URI }} | |
- name: Build | |
run: npm run build | |
- name: Cypress tests | |
uses: cypress-io/github-action@v3 | |
with: | |
start: npm start | |
wait-on: "http://localhost:8080/health" |