Make git less verbose #454 #1018
This file contains hidden or 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
| # This workflow will install Python dependencies, run tests and lint with a single version of Python | |
| name: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| container: | |
| image: python:3.12.2-slim-bullseye | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| export DEBIAN_FRONTEND=noninteractive | |
| sudo apt-get clean && sudo apt-get update | |
| apt-get update && apt-get install python3-dev libhunspell-dev libyaml-dev gettext zip mercurial bzr ruby git curl wget g++ subversion bzip2 make -y | |
| gem install i18n-translators-tools | |
| python --version | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| make install-dev-tool | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Install NPM dependencies | |
| run: | | |
| npm ci | |
| - name: Check JSON formatting with Prettier | |
| run: | | |
| npm run prettier:check | |
| - name: Test | |
| run: | | |
| cd src && nose2 | |
| - name: dev tools | |
| run: | | |
| make run-dev-tool |