Skip to content

Commit c290a2f

Browse files
othr-las3Robert Maier
authored andcommitted
Initial commit (cleaned)
0 parents  commit c290a2f

File tree

113 files changed

+13435
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+13435
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: bayesiansafety
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
jobs:
7+
build:
8+
name: Running tests - OS - ${{ matrix.os }}; Python - ${{ matrix.python-version}}
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
python-version: [3.9]
13+
os: [ubuntu-latest, windows-latest]
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install pytest
25+
python -m pip install -r requirements.txt -U
26+
- name: Execute tests
27+
run: pytest --cov-config .coveragerc --cov-report html:./reports --cov-report term --cov=bayesiansafety --verbose --cov-branch --junitxml ./reports/junit_report.xml
28+
29+
- name: After success
30+
run: codecov

0 commit comments

Comments
 (0)