Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ops(github): fix GitHub workflow #376

Merged
merged 7 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
max-parallel: 1
fail-fast: false
matrix:
# python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.12"]

steps:
Expand All @@ -29,10 +26,6 @@ jobs:
- name: Lint with pre-commit
uses: pre-commit/[email protected]
- name: Install dependencies
run: poetry install --no-dev
- name: Run demo.py
run: poetry run python demo.py
- name: Install dependencies tests
run: poetry install
- name: Run tests
run: poetry run pytest
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# PixivPy3 ![Build Status](https://github.com/upbit/pixivpy/workflows/pixivpy/badge.svg?branch=master) [![PyPI version](https://badge.fury.io/py/PixivPy3.svg)](https://badge.fury.io/py/PixivPy3)

> Due to [#158](https://github.com/upbit/pixivpy/issues/158) reason, password login
> no longer exist. Please use `api.auth(refresh_token=REFRESH_TOKEN)` instead
> Due to [#158](https://github.com/upbit/pixivpy/issues/158) reason, password
> login no longer exist. Please use `api.auth(refresh_token=REFRESH_TOKEN)`
> instead.
>
> To get `refresh_token`, see
> [@ZipFile Pixiv OAuth Flow](https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362)
Expand Down