Skip to content

Commit

Permalink
Updated pytest.ini and added Windows to build_and_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rickecon committed Apr 12, 2024
1 parent fa30855 commit 08d2444
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10"]

steps:
Expand Down
25 changes: 25 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false

ignore:
- "setup.py"
- "./cs-config/**/*" # ignore folders and all its contents
- "./tests/" # ignore folders and all its contents
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
[pytest]
minversion = 6.0
testpaths =
ogusa/tests
./tests
markers =
local: marks tests that are run locally only and not on GH Actions

0 comments on commit 08d2444

Please sign in to comment.