Only check for timeout if time_limit is finite, and don't consider timed logging if output_flag is false; formatted #332
This file contains 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: check-python-package | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build sdist | |
run: | | |
python3 -m pip install build setuptools twine | |
python3 -m build --sdist | |
python3 -m build --wheel | |
twine check dist/* | |
build_mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build sdist | |
run: | | |
python3 -m pip install build setuptools twine --break-system-packages | |
python3 -m build --sdist | |
python3 -m build --wheel | |
twine check dist/* | |
build_win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install correct python version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Build sdist | |
run: | | |
py -m pip install build setuptools twine | |
py -m build --sdist | |
py -m build --wheel | |
py -m twine check dist/* |