Skip to content

4.x branch: Fix for issue 518 (to_ical() with RRULE BYDAY values>=10) #365

4.x branch: Fix for issue 518 (to_ical() with RRULE BYDAY values>=10)

4.x branch: Fix for issue 518 (to_ical() with RRULE BYDAY values>=10) #365

Workflow file for this run

name: tests
on:
push:
branches: [ 4.x ]
pull_request:
schedule:
- cron: '21 7 * * 0' # run once a week on Sunday
workflow_dispatch:
jobs:
build:
strategy:
matrix:
config:
# [Python version, tox env, OS ]
# see for version: https://github.com/raw/actions/python-versions/main/versions-manifest.json
# see for runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
- ["2.7", "py27", "ubuntu-latest"]
- ["pypy-2.7", "pypy", "ubuntu-latest"]
- ["3.4.10", "py34", "ubuntu-18.04"]
- ["3.5.10", "py35", "ubuntu-latest"]
- ["3.6", "py36", "ubuntu-latest"]
- ["3.7", "py37", "ubuntu-latest"]
- ["3.8", "py38", "ubuntu-latest"]
- ["3.9", "py39", "ubuntu-latest"]
- ["3.10", "py310", "ubuntu-latest"]
- ["pypy3", "pypy3", "ubuntu-latest"]
runs-on: ${{ matrix.config[2] }}
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.config[0] }}
- name: Pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.config[0] }}-
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test
run: tox -e ${{ matrix.config[1] }}
- name: Coverage
if: matrix.config[0] != '2.7' && matrix.config[0] != 'pypy-2.7' && matrix.config[0] != '3.4.10'
run: |
pip install coveralls coverage-python-version
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}