Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Improve build system and update to 23.0.3 #1

Improve build system and update to 23.0.3

Improve build system and update to 23.0.3 #1

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test Windows and Linux
on:
push:
branches: [ master]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.8, 3.13]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.7.21"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
# this is installed by default on Ubuntu 22.04
- name: Install libnsl2 (Linux only)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libnsl2
- name: Install the project
run: uv sync
- name: Run tests
run: uv run pytest