Skip to content

[MISC] Bump version - patch: 0.16.2 -> 0.16.3 #145

[MISC] Bump version - patch: 0.16.2 -> 0.16.3

[MISC] Bump version - patch: 0.16.2 -> 0.16.3 #145

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main ]
paths:
- "novelai_api/**"
pull_request:
branches: [ main ]
paths:
- "novelai_api/**"
jobs:
mock:
environment: NovelAI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
pip install poetry
- name: Test
run: |
poetry install
poetry run nai-test-mock
test:
environment: NovelAI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
pip install poetry
- name: Test
run: |
poetry install
poetry run nai-test-api
env:
NAI_USERNAME: ${{ secrets.NAI_USERNAME }}
NAI_PASSWORD: ${{ secrets.NAI_PASSWORD }}