From 621b15eb828aee5afc523d336a6df606b67689ea Mon Sep 17 00:00:00 2001 From: Harry Date: Tue, 9 Aug 2022 18:03:55 +0100 Subject: [PATCH] tweak ci settings --- .github/workflows/ci.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e5572b7..0536cab 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Python package +name: Run tests on: [push] @@ -6,18 +6,20 @@ jobs: build: runs-on: ubuntu-latest - strategy: - # You can use PyPy versions in python-version. - # For example, pypy-2.7 and pypy-3.8 - matrix: - python-version: ["2.7", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} - # You can test your matrix by printing the current Python version - - name: Display Python version - run: python -c "import sys; print(sys.version)" + python-version: "3.10" + + - name: Install dependencies + run: | + python setup.py develop + + - name: Test + shell: 'script -q -e -c "bash {0}"' + run: | + stty cols 90 + pytest