From: Aarni Koskela Date: Mon, 27 Nov 2023 14:37:36 +0000 (+0200) Subject: CI: use GitHub output formats (#1046) X-Git-Tag: v2.14.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dff607951ca157b37f0f8db8213698af122335a;p=thirdparty%2Fbabel.git CI: use GitHub output formats (#1046) * CI: use GitHub output format for Ruff * CI: use pytest-github-actions-annotate-failures too --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c0eaafd..15f1712d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: pre-commit/action@v3.0.0 + env: + RUFF_OUTPUT_FORMAT: github test: runs-on: ${{ matrix.os }} strategy: @@ -58,6 +60,7 @@ jobs: run: tox --skip-missing-interpreters env: COVERAGE_XML_PATH: ${{ runner.temp }} + BABEL_TOX_EXTRA_DEPS: pytest-github-actions-annotate-failures - uses: codecov/codecov-action@v3 with: directory: ${{ runner.temp }} diff --git a/tox.ini b/tox.ini index ec0c9cd6..f91ba5ba 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,7 @@ envlist = extras = dev deps = + {env:BABEL_TOX_EXTRA_DEPS:} backports.zoneinfo;python_version<"3.9" tzdata;sys_platform == 'win32' pytz: pytz @@ -23,6 +24,8 @@ passenv = BABEL_* PYTEST_* PYTHON_* + # To let pytest-github-actions-annotate-failures know it's running in GitHub Actions: + GITHUB_ACTIONS [gh-actions] python =