build(deps): bump tqdm from 4.65.0 to 4.66.3 #46
Workflow file for this run
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 | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
#---------------------------------------------- | |
# check-out repo and set-up python | |
#---------------------------------------------- | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Set up python | |
id: setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
#---------------------------------------------- | |
# install & configure poetry | |
#---------------------------------------------- | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
installer-parallel: true | |
#---------------------------------------------- | |
# install project | |
#---------------------------------------------- | |
- name: Install project | |
run: poetry install | |
#---------------------------------------------- | |
# lint project | |
#---------------------------------------------- | |
- name: Lint project | |
run: | | |
poetry lock --check | |
poetry run bandit --recursive --quiet --skip B101 tests/ | |
poetry run pre-commit run --all | |
#---------------------------------------------- | |
# run test suites | |
#---------------------------------------------- | |
- name: Run tests | |
run: poetry run pytest tests/ |