-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (32 loc) · 854 Bytes
/
ci.yml
File metadata and controls
35 lines (32 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches: [master]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
django-version: ['4.2', '5.2']
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Setup Nodejs
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: run tests with Django ${{ matrix.django-version }}
run: |
sudo apt install gettext
pip install "django~=${{ matrix.django-version }}.0"
pip install -r requirements/test.txt
make npm_requirements
make build
make test
make validate_translations