Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upgrade more GitHub Actions #1088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2023
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