Build and Test #126
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
| name: Build and Test | |
| # Builds and tests bibtex-dblp with different dependencies | |
| on: | |
| push: | |
| schedule: | |
| # run weekly | |
| - cron: '0 10 * * 3' | |
| # needed to trigger the workflow manually | |
| workflow_dispatch: | |
| pull_request: | |
| concurrency: | |
| group: Build and Test ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| BuildTest: | |
| name: Test (Python ${{ matrix.python-version }} on ${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| - "3.14" | |
| os: | |
| - ubuntu-latest | |
| steps: | |
| - name: Git clone | |
| uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install tox | |
| run: python -m pip install tox-gh>=1.3 | |
| - name: Setup test suite | |
| run: tox --notest | |
| - name: Run test suite | |
| run: tox --skip-pkg-install |