Skip to content

Get the project working with Wagtail 4.1+ #5

Get the project working with Wagtail 4.1+

Get the project working with Wagtail 4.1+ #5

Workflow file for this run

name: Tests
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test-python:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Install NPM and dependencies
uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Build client
run: |
npm install --prefix ./longclaw/client
npm run build --prefix ./longclaw/client
- name: Upload client
uses: actions/upload-artifact@v2
with:
name: client
path: ./longclaw/core/static/core/js
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Download client
uses: actions/download-artifact@v2
with:
name: client
path: ./longclaw/core/static/core/js
- name: Test with tox
run: tox