diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3812483 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: PDM Test + +on: + push: + pull_request: + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.8", "pypy3.9", "pypy3.10"] + + 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 dependencies + run: | + python -m pip install -U pip pdm + pdm install + - name: Run tests + run: | + pdm test diff --git a/tests/test_hypotheses.py b/tests/test_hypotheses.py index 3c13d79..a7a22b3 100644 --- a/tests/test_hypotheses.py +++ b/tests/test_hypotheses.py @@ -12,7 +12,7 @@ ) -bar = tqdm(mininterval=0, dynamic_ncols=True) +bar = tqdm(mininterval=0, ncols=200) FINE_JSON_EXAMPLES = 333 PARTIAL_JSON_EXAMPLES = 333