mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-25 14:24:31 +00:00
29 lines
519 B
YAML
29 lines
519 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
cache: "pip"
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt pytest pytest-asyncio
|
|
|
|
- name: Run tests
|
|
run: pytest
|
|
env:
|
|
SEED: ${{ secrets.SEED }}
|
|
API_KEY: ${{ secrets.API_KEY }}
|