chore(deps): update dependency eslint to v9 #11114
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
quality_and_translations_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install Dependencies | |
run: make requirements | |
- name: Install gettext | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends -y gettext | |
- name: Run Tests | |
run: | | |
make check_translations_up_to_date | |
make validate_translations | |
make quality | |
make check_keywords | |
make pii_check | |
unit_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
django-version: ["django42"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Setup Nodejs Env | |
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VER }} | |
- name: Install Dependencies | |
run: make requirements | |
- name: Install Firefox | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends -y firefox xvfb | |
- name: Run Tests | |
env: | |
TOXENV: ${{ matrix.django-version }} | |
run: | | |
make static | |
make tests | |
- name: Run code coverage | |
if: matrix.python-version == '3.11' && matrix.django-version == 'django42' | |
uses: codecov/codecov-action@v5 | |
with: | |
flags: unittests | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
architecture: x64 | |
- name: Install Dependencies | |
run: make requirements | |
- name: Build the docs | |
run: make docs |