Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- /run/mysqld:/run/mysqld

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Workaround MySQL container permissions
if: startsWith(matrix.db, 'mysql')
Expand All @@ -58,15 +58,15 @@ jobs:
/usr/bin/docker ps --all --filter status=exited --no-trunc --format "{{.ID}}" | xargs -r /usr/bin/docker start

- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
cache: 'pip'
cache-dependency-path: 'requirements-dev.txt'

- name: Install dependency
run: |
pip install -U -r requirements-dev.txt
pip install --upgrade -r requirements-dev.txt

- name: Set up MySQL
run: |
Expand Down Expand Up @@ -107,16 +107,16 @@ jobs:
coveralls:
if: github.repository == 'PyMySQL/PyMySQL'
name: Finish coveralls
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: test
steps:
- name: requirements.
run: |
echo coveralls > requirements.txt

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.x'
cache: 'pip'

- name: Finished
Expand Down