Skip to content

Commit

Permalink
Merge branch 'master' into fix-single-plural-multiple-domains
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader authored Jun 18, 2024
2 parents dad01d3 + 11f6a42 commit 1a5cd7f
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 127 deletions.
36 changes: 9 additions & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
name: Tests

on: [push, pull_request]
on: [push]

jobs:
build:
test:
name: Running tests.

runs-on: ubuntu-latest
uses: tktech/python-standard/.github/workflows/test.yml@v1
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", pypy3.9]

steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: snok/install-poetry@v1

- name: Installing
run: poetry install --no-interaction

- name: Running tests
run: |
poetry run pytest --cov=flask_babel --cov-report=xml
- name: Building documentation
run: |
cd docs && poetry run make clean && poetry run make html
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", pypy3.9]
with:
use_poetry: true
use_sphinx: true
use_black: true
python_version: ${{ matrix.python-version }}
Loading

0 comments on commit 1a5cd7f

Please sign in to comment.