Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- run: pipx install ruff
- run: ruff check src/
- run: ruff format src/
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
mysql --version
mysql -uroot -proot -e "CREATE DATABASE mysqldb_test"

- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand All @@ -59,7 +59,7 @@ jobs:
run: |
pytest --cov=MySQLdb tests

- uses: codecov/codecov-action@v5
- uses: codecov/codecov-action@v7

django-test:
name: "Run Django LTS test suite"
Expand All @@ -78,10 +78,10 @@ jobs:
mysql -uroot -proot -e "CREATE USER 'scott'@'%' IDENTIFIED BY 'tiger'; GRANT ALL ON *.* TO scott;"
mysql -uroot -proot -e "CREATE DATABASE django_default; CREATE DATABASE django_other;"

- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.12"
cache: "pip"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- name: Cache Connector
id: cache-connector
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: c:/mariadb-connector
key: mariadb-connector-c-${{ env.CONNECTOR_VERSION }}-win-2
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
cmake -DCMAKE_INSTALL_PREFIX=c:/mariadb-connector -DCMAKE_INSTALL_COMPONENT=Development -DCMAKE_BUILD_TYPE=Release -P cmake_install.cmake

- name: Checkout mysqlclient
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: mysqlclient

Expand All @@ -73,7 +73,7 @@ jobs:
EOF
cat site.cfg

- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
- name: Build wheels
Expand All @@ -91,7 +91,7 @@ jobs:
python -m build -s -o dist

- name: Upload Wheel
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: win-wheels
path: mysqlclient/dist/*.*
Loading