@@ -0,0 +1,31 @@
|
||||
name: pytest
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
cache: pip
|
||||
cache-dependency-path: |
|
||||
requirements.txt
|
||||
dev-requirements.txt
|
||||
|
||||
- name: Install dependencies
|
||||
run: python -m pip install -r dev-requirements.txt
|
||||
|
||||
- name: Run pytest
|
||||
run: python -m pytest
|
||||
Reference in New Issue
Block a user