This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
Merge pull request #13 from mention-me/dependabot/pip/idna-3.7 #6
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: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.12' | |
- name: Create virtualenv | |
run: | | |
python -m venv venv | |
source venv/bin/activate | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Run pytest | |
run: | | |
pytest -v | |
- name: Run pre-commit | |
run: | | |
pip install pre-commit | |
pre-commit install-hooks | |
pre-commit run --all-files |