Skip to content

Merge pull request #630 from martgnz/cyclolibre #426

Merge pull request #630 from martgnz/cyclolibre

Merge pull request #630 from martgnz/cyclolibre #426

Workflow file for this run

name: pybikes
env:
PYBIKES_CYCLOCITY: ${{ secrets.PYBIKES_CYCLOCITY }}
PYBIKES_BYSYKKEL: ${{ secrets.PYBIKES_BYSYKKEL }}
PYBIKES_WEELO_CLIENT_ID: ${{ secrets.PYBIKES_WEELO_CLIENT_ID }}
PYBIKES_WEELO_CLIENT_SECRET: ${{ secrets.PYBIKES_WEELO_CLIENT_SECRET }}
PYBIKES_DEUTSCHEBAHN_CLIENT_ID: ${{ secrets.PYBIKES_DEUTSCHEBAHN_CLIENT_ID }}
PYBIKES_DEUTSCHEBAHN_CLIENT_SECRET: ${{ secrets.PYBIKES_DEUTSCHEBAHN_CLIENT_SECRET }}
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install
- name: lint
run: make lint
- name: test
run: make test
- name: test update
run: |
make report T_FLAGS+='-n 10' || true
# Only run summary once
- name: summary
if: (success() || failure()) && matrix.python-version == '3.8'
run: |
make github-summary >> $GITHUB_STEP_SUMMARY