Skip to content

Commit

Permalink
Use alpha yarl + aiohttp for experimental Python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletcafe committed Jul 22, 2022
1 parent 78069f8 commit 7d72a44
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,31 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0' ]
python:
- {version: '3.8'}
- {version: '3.9'}
- {version: '3.10'}
- {version: '3.11.0-alpha - 3.11.0', experimental: true}
discord-py:
- {NAME: 'pypi', PIP_TARGET: 'discord.py[voice]'}
- {NAME: 'git', PIP_TARGET: 'discord.py[voice] @ git+https://github.com/Rapptz/discord.py@master'}
name: "${{ matrix.os }} CPython ${{ matrix.python-version }} with ${{ matrix.python-arch }} ${{ matrix.discord-py.NAME }} discord.py"
name: "${{ matrix.os }} CPython ${{ matrix.python.version }} with ${{ matrix.python-arch }} ${{ matrix.discord-py.NAME }} discord.py"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ matrix.python.version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ matrix.python.version }}

- name: Install experimental deps
shell: bash
if: ${{ matrix.python.experimental }}
run: |
pip install -U "yarl @ git+https://github.com/aio-libs/yarl@master"
pip install -U "aiohttp @ git+https://github.com/aio-libs/aiohttp@master"
- name: Install dependencies
shell: bash
Expand Down

0 comments on commit 7d72a44

Please sign in to comment.