Skip to content

Commit

Permalink
Create test-clir-init.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
elkinaguas authored Nov 11, 2023
1 parent a3e25c4 commit 50f0a7b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test-clir-init.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install clir using Poetry
run: |
poetry install
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest ./tests/init_tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html

0 comments on commit 50f0a7b

Please sign in to comment.