Skip to content

Commit

Permalink
maint: more CI fixes,pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Feb 22, 2024
1 parent 554225c commit 6fd44cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: "3.11"
- uses: pre-commit/[email protected]

tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10, 3.11, 3.12]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Create cov
run: coverage xml
- name: Upload to Codecov
if: matrix.python-version == 3.11
if: matrix.python-version == "3.11"
uses: codecov/codecov-action@v4
with:
name: sphinx-exercise-pytest-py3.11
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -74,11 +74,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: "3.11"
- name: Build package
run: |
pip install wheel build
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ Tracker = "https://github.com/executablebooks/sphinx-exercise/issues"

[tool.hatch.version]
path = "sphinx_exercise/__init__.py"

0 comments on commit 6fd44cc

Please sign in to comment.