Bump cryptography from 46.0.4 to 46.0.6 #96
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: Tests | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - edited | |
| - synchronize | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.11'] | |
| poetry-version: ['1.8.4'] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Display Python version | |
| run: python -c "import sys; print(sys.version)" | |
| - name: Install Poetry | |
| uses: abatilo/actions-poetry@v2.4.0 | |
| with: | |
| poetry-version: ${{ matrix.poetry-version }} | |
| - name: Cache Poetry environment | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.cache/pypoetry | |
| ~/.cache/pip | |
| key: poetry-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | |
| restore-keys: | | |
| poetry-${{ runner.os }}- | |
| - name: Install dependencies | |
| run: poetry install | |
| - name: Run tests with coverage | |
| run: | | |
| poetry run pytest \ | |
| --cov=finam_trade_api \ | |
| --cov-report=xml \ | |
| --cov-report=term \ | |
| -p no:warnings tests/ | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| file: coverage.xml |