Skip to content

Switches to 300 per 15 minutes rate limit #247

Switches to 300 per 15 minutes rate limit

Switches to 300 per 15 minutes rate limit #247

Workflow file for this run

name: pytest
on:
push:
branches:
- "*"
jobs:
pytest:
runs-on: ${{ matrix.os }}-latest
environment: testing
strategy:
matrix:
os: [ubuntu, windows, macos]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} ${{ matrix.os }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pipx install poetry
- name: Install dependencies and build package
run: |
poetry install
- name: Test with pytest
run: |
poetry run python pre_push.py -nu
env:
NPSSO_CODE: ${{ secrets.NPSSO_CODE }}
USER_NAME: ${{ vars.USER_NAME }}
FRIEND_USER_NAME: ${{ vars.FRIEND_USER_NAME }}
BLOCKED_USER_NAME: ${{ vars.BLOCKED_USER_NAME }}