Skip to content

Upgrade ruby & python in dev.yml. Upgrade Python versions for tox tes… #436

Upgrade ruby & python in dev.yml. Upgrade Python versions for tox tes…

Upgrade ruby & python in dev.yml. Upgrade Python versions for tox tes… #436

Workflow file for this run

name: Tests
on: [push]
jobs:
ruby-tests:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
fail-fast: false
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Run Ruby tests
run: |
bin/before-install
bin/test
env:
SUITE: ruby
REDIS_HOST: localhost
python-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
services:
redis:
image: redis
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Install Python 3.7, 3.8, 3.9, 3.10, 3.11
run: |
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get -qq update
sudo apt-get install -y python3.7 python3.8 python3.9 python3.10 python3.11 python3-pip ruby
sudo pip install autopep8
- name: Run Python tests
run: |
bin/before-install
bin/test
env:
SUITE: python
REDIS_HOST: localhost
REDIS_PORT: 6379