Skip to content

Commit ff8e48e

Browse files
authored
Merge pull request #1 from blink1073/fix-ci
Clean up ci
2 parents 960255c + 52de76f commit ff8e48e

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/test-python.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
strategy:
3838
matrix:
3939
os: [ubuntu-20.04]
40-
python-version: ["3.7", "3.11", "pypy-3.9"]
40+
python-version: ["3.8", "3.11", "pypy-3.9"]
41+
fail-fast: false
4142
name: CPython ${{ matrix.python-version }}-${{ matrix.os }}
4243
steps:
4344
- uses: actions/checkout@v4
@@ -49,7 +50,7 @@ jobs:
4950
cache-dependency-path: 'pyproject.toml'
5051
- name: Install dependencies
5152
run: |
52-
pip install -u pip
53+
pip install -U pip
5354
pip install -e ".[test]"
5455
- name: Start MongoDB
5556
uses: supercharge/[email protected]
@@ -70,6 +71,10 @@ jobs:
7071
cache-dependency-path: 'pyproject.toml'
7172
# Build docs on lowest supported Python for furo
7273
python-version: '3.8'
74+
- name: Install dependencies
75+
run: |
76+
pip install -U pip
77+
pip install -e ".[docs]"
7378
- name: Build docs
7479
run: |
7580
cd docs

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ module = ["test.*"]
7777
disable_error_code = ["no-untyped-def", "no-untyped-call"]
7878

7979
[tool.ruff]
80-
target-version = "py37"
8180
line-length = 100
8281

8382
[tool.ruff.lint]

test/test_basic.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from __future__ import annotations
2+
3+
4+
def test_basic():
5+
pass

0 commit comments

Comments
 (0)