Skip to content

Schedule 'force_special_times=True' performance optimization #55

Schedule 'force_special_times=True' performance optimization

Schedule 'force_special_times=True' performance optimization #55

Workflow file for this run

name: test_runner
on:
pull_request:
branches: [ dev ]
workflow_call:
workflow_dispatch:
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest coveralls black===24.3.0
pip install .
# - name: ensure black format
# run: python -m black --check pandas_market_calendars tests
- name: run tests
run: |
coverage run --source=pandas_market_calendars -m pytest tests
coverage lcov -o coverage.lcov
- name: coveralls parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: test_${{matrix.os}}_${{matrix.python-version}}
parallel: true
path-to-lcov: coverage.lcov
report_coverage:
if: ${{ always() }}
needs: run_tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: coveralls finalize
id: coveralls_finalize
uses: coverallsapp/github-action@master
with:
github-token: ${{secrets.github_token}}
parallel-finished: true
path-to-lcov: coverage.lcov