Bump propcache from 0.2.0 to 0.2.1 #2466
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 code | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11', '3.12', '3.13'] | |
name: Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
# Setup workspace | |
- run: set -e | |
- run: python3 --version | |
- run: pip3 install --upgrade setuptools pip | |
- run: pip3 install -r requirements.txt | |
- run: pip3 install -e . --no-deps | |
# name: Test example algorithm | |
- run: python3 examples/print_time.py --start-date 2017-01-01 --end-date 2017-01-02 | |
- run: pip3 install -e .[dev] | |
# Run Tests | |
- run: python3 -m unittest tests/unit/tests.py | |
- run: python3 -m unittest tests/integration/tests.py | |
- run: pip3 install -r version_hashes.txt | |
# Check syntax | |
- run: sudo apt-get install python3-pip flake8 | |
- run: flake8 . |