Skip to content

Commit

Permalink
Add CI tests.
Browse files Browse the repository at this point in the history
Also update the ignore file.
  • Loading branch information
Anteru committed Aug 19, 2024
1 parent 0a19698 commit dc05a6d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lina

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"]
max-parallel: 4

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install py.test
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Test package
run: pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ htmlcov/*
.coverage
.pytest*
.vscode*
.venv

0 comments on commit dc05a6d

Please sign in to comment.