Skip to content

update simple-openid-connect dep to ~v0.5 #60

update simple-openid-connect dep to ~v0.5

update simple-openid-connect dep to ~v0.5 #60

Workflow file for this run

name: main
on:
- push
- workflow_dispatch
- pull_request
jobs:
check-pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
cache-dependency-path: src/mafiasi_link_shortener/frontend/mafiasi_link_shortener/package-lock.json
- name: Install dependencies
run: |
yarn install --frozen-lockfile --cwd=src/mafiasi_link_shortener/frontend/mafiasi_link_shortener
pip install pre-commit
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pre-commit run --show-diff-on-failure --color=always --all-files
run-python-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
cache: pipenv
- name: Install dependencies
run: |
pip install pipenv
pipenv sync --dev
- name: Run tests
run: pipenv run pytest