Bump govuk_tech_docs from 3.5.0 to 4.1.1 #417
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: pr-tests | |
on: pull_request | |
env: | |
NODE_VERSION: "12.x" | |
PYTHON_VERSION: "3.x" | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 | |
with: | |
node-version: "${{env.NODE_VERSION}}" | |
- uses: ruby/setup-ruby@5f19ec79cedfadb78ab837f95b87734d0003c899 | |
with: | |
bundler-cache: true | |
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c | |
with: | |
python-version: "${{env.PYTHON_VERSION}}" | |
- run: npm ci | |
- run: pip install --user -r requirements.txt | |
- name: Node tests | |
run: npm test | |
- name: Python tests | |
run: | | |
gem install webrick | |
make test |