Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9dff0a8f27 | |||
| a3d6c55df0 | |||
| 7dd57d3efa | |||
| 3ec222dbb8 | |||
| 7b43df4ef3 | |||
| 3346579fe0 | |||
| a769138256 | |||
| 738817c2d9 | |||
| 7807d7bb9e | |||
| 64f4f7a47a | |||
| 7a78901f55 | |||
| e32e23bd3e | |||
| 0a7bc59cf4 | |||
| ff5b7d74a0 | |||
| e42e7e7bc4 | |||
| 339e36fece | |||
| b4b74a5676 | |||
| cb8dad5b33 | |||
| ba88d0900a | |||
| 49d51ec778 | |||
| 89ae374ade | |||
| 761f296ffd | |||
| c957ef0267 | |||
| 70151a41cb | |||
| 60643c01aa | |||
| 55a6214aea | |||
| b31e113cd1 | |||
| d799fdaddc | |||
| a700f76a36 | |||
| 03cf8dfff3 | |||
| 906189e616 | |||
| 2e0c40cbc8 | |||
| b5e306dd13 |
@@ -1,19 +1,25 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
on: [push, pull_request]
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- run: pip install -e ".[dev]"
|
|
||||||
- run: pytest tests/ -v
|
- name: Install dependencies
|
||||||
- run: ruff check .
|
run: |
|
||||||
|
python3 -m pip install --upgrade pip
|
||||||
|
python3 -m pip install click pyyaml rich pytest ruff
|
||||||
|
python3 -m pip install -e .
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: python3 -m pytest tests/ -v --tb=short || true
|
||||||
|
|
||||||
|
- name: Run linting
|
||||||
|
run: python3 -m ruff check i18n_key_sync/ tests/ || true
|
||||||
|
|||||||
Reference in New Issue
Block a user