Remove unnecessary sqlite3 Timestamp import from summaries.py and indicators.py to fix mypy errors #1294
Workflow file for this run
This file contains hidden or 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: unittest | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - v1 | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| python-version: ['3.9', '3.10', '3.11'] | |
| runs-on: ${{ matrix.os }} | |
| name: ${{ matrix.os }} Unit test ${{ matrix.python-version }} | |
| steps: | |
| - name: Windows hack | |
| run: git config --system core.longpaths true | |
| if: ${{ matrix.os == 'windows-latest' }} | |
| - uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Setup Poetry | |
| uses: abatilo/actions-poetry@v2 | |
| - name: Install pypi deps | |
| run: poetry install | |
| - name: Unit tests | |
| run: make test |