31 lines
687 B
YAML
31 lines
687 B
YAML
name: Test execution
|
|
on: [push]
|
|
jobs:
|
|
Test-all:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up git
|
|
run : |
|
|
git config --global user.email "tester@example.com"
|
|
git config --global user.name "Automated Tester"
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v6
|
|
|
|
- name: Create virtual environment
|
|
run : |
|
|
uv venv
|
|
|
|
- name: Install this package
|
|
run : |
|
|
uv pip install .
|
|
|
|
- name: Run tests
|
|
run: |
|
|
uv run --extra tests pytest
|