Bump black from 23.1.0 to 24.3.0 #21
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: Run tests | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
- name: Test module setup | |
run: | | |
python setup.py install | |
cd tests # Switch folder to avoid conflicts between ./tls_parser and the installed tls_parser module | |
python ../sample.py | |
cd .. | |
python -m pip uninstall -y tls-parser | |
- name: Run tests and linters | |
run: | | |
python -m pip install -r requirements-dev.txt | |
python -m invoke test |