Skip to content

Add Login Helper to manage AccessToken and RefreshTokens #15

Add Login Helper to manage AccessToken and RefreshTokens

Add Login Helper to manage AccessToken and RefreshTokens #15

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: golangci/golangci-lint-action@v3
- run: go test ./... -v
test-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install pipreqs
run: pip install pipreqs
- name: Generate requirements.txt
run: pipreqs . --force
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install flake8
run: pip install flake8
- name: Run flake8
run: flake8 .
- name: Run tests
run: pytest