-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (28 loc) · 759 Bytes
/
Copy pathci-pip.yml
File metadata and controls
34 lines (28 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Python CI PIP
on:
# push:
# branches:
# - main
# pull_request:
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: source
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Setup Python 3.14
uses: actions/setup-python@v7
with:
python-version: '3.14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Run tests
run: |
mkdir -p tests/results
python -m pytest --cov=src --cov-report=term-missing --cov-report=xml:tests/results/coverage.xml --junitxml=tests/results/pytest.xml