From edb19281cfae1ac87d1adca3b006dbc52bfafff3 Mon Sep 17 00:00:00 2001 From: Siddhartha Date: Tue, 1 Oct 2024 20:45:40 -0700 Subject: [PATCH] try python 3.9 with ubuntu --- .github/workflows/test.yml | 12 ++++++------ setup.py | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78c0d4d..302630c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,9 +11,9 @@ jobs: strategy: matrix: py: - - "3.11" + - "3.9" os: - - "macos-latest" + - "ubuntu-latest" architecture: - x64 name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}" @@ -30,7 +30,7 @@ jobs: - name: Run tests run: make test-matrix coverage: - runs-on: macos-latest + runs-on: ubuntu-latest name: Report coverage env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} @@ -41,21 +41,21 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.9 architecture: x64 - name: Install dependencies run: make build-for-test - name: Report coverage run: make cover-coveralls lint: - runs-on: macos-latest + runs-on: ubuntu-latest name: Lint the package steps: - uses: actions/checkout@v3 - name: Setup python uses: actions/setup-python@v4 with: - python-version: 3.11 + python-version: 3.9 architecture: x64 - name: Install dependencies run: make build diff --git a/setup.py b/setup.py index 93f81cd..386ad35 100644 --- a/setup.py +++ b/setup.py @@ -30,5 +30,6 @@ test_suite='tests', install_requires=requirements, setup_requires=setup_requirements, + tests_require=test_requirements, extras_require={'dev': dev_requirements, 'test': test_requirements}, )