Test performance and file size of skops persistence #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test performance and file size of skops persistence | |
on: | |
schedule: | |
- cron: '0 9 * * 0' # every sunday at 9:00 UTC | |
workflow_dispatch: | |
jobs: | |
check-persistence-performance: | |
runs-on: ubuntu-latest | |
if: "github.repository == 'skops-dev/skops'" | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install requirements | |
run: | | |
pip install .[tests] | |
pip --version | |
pip list | |
- name: Run persistence performance checks | |
run: python3.10 scripts/check_persistence_performance.py | |
- name: Run file size checks | |
run: python3.10 scripts/check_file_size.py |