Skip to content

Commit

Permalink
Confirmed that the yaml can be parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
edgararuiz committed Oct 15, 2024
1 parent 11bbe6c commit 27542c5
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Python package

on: [push]
name: Python tests

on:
push:
branches: main
pull_request:
branches: main

jobs:
build:
python-tests:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.13"]
Expand All @@ -17,12 +19,11 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r python/requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest python --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r python/requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
pytest python --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html

0 comments on commit 27542c5

Please sign in to comment.