Skip to content

Expand blog automation to include information from Google Form (author name etc) as well as copying the image file to our repo #761

Expand blog automation to include information from Google Form (author name etc) as well as copying the image file to our repo

Expand blog automation to include information from Google Form (author name etc) as well as copying the image file to our repo #761

Workflow file for this run

name: Run Tests
on:
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
test-js:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set Up Node.js
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install NPM Dependencies
run: npm install
- name: Run JS Tests
run: npm test
test-python:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
architecture: 'x64'
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
cd tools
ls -lah
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r certificate_automation/requirements.txt
- name: Run pytest
run: |
cd tools
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
pytest --ignore=_site --ignore=.venv --ignore=myenv