Translated using Weblate (Finnish) #1688
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
| # SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V. <https://fsfe.org> | |
| # SPDX-FileCopyrightText: 2022 Carmen Bianca Bakker <carmenbianca@fsfe.org> | |
| # SPDX-FileCopyrightText: 2023 DB Systel GmbH | |
| # | |
| # SPDX-License-Identifier: GPL-3.0-or-later | |
| name: Test suites | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| # do not abort the whole test job if one combination in the matrix fails | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10"] | |
| os: ["macos-latest", "windows-latest"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| pip install poetry~=1.3.0 | |
| poetry install --no-interaction --only main,test --all-extras | |
| - name: Run tests with pytest | |
| run: | | |
| poetry run pytest -vv --cov=reuse |