chore(deps): lock file maintenance #687
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: CI | |
on: [push] | |
jobs: | |
python39-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Apt install | |
run: cat Aptfile | sudo xargs apt-get install | |
- name: Python setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.9" | |
- id: cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip- | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Poetry install | |
run: pip install -Iv poetry | |
- name: Install dependencies | |
run: poetry install -v | |
- name: Tests | |
run: poetry run pytest | |
python38-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Apt install | |
run: cat Aptfile | sudo xargs apt-get install | |
- name: Python setup | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- id: cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip- | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Poetry install | |
run: pip install -Iv poetry | |
- name: Install dependencies | |
run: poetry install -v | |
- name: Tests | |
run: poetry run pytest | |
- name: Linting | |
run: | | |
poetry run pylint social_auth_mitxpro/ | |
poetry run black --check . |