Skip to content

Commit 27fcbc6

Browse files
committedApr 5, 2024·
viprs==0.1.0 release.
1 parent d398d09 commit 27fcbc6

File tree

98 files changed

+7390
-3697
lines changed

Some content is hidden

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

98 files changed

+7390
-3697
lines changed
 

‎.github/workflows/ci-docs.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build Docs
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- uses: actions/checkout@v4
15+
16+
- name: Configure Git Credentials
17+
run: |
18+
git config user.name github-actions[bot]
19+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
20+
21+
- uses: actions/setup-python@v5
22+
with:
23+
python-version: 3.x
24+
25+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
26+
27+
- uses: actions/cache@v4
28+
with:
29+
key: mkdocs-material-${{ env.cache_id }}
30+
path: .cache
31+
restore-keys: |
32+
mkdocs-material-
33+
34+
- run: python -m pip install -r requirements-docs.txt
35+
- run: mkdocs gh-deploy --force

‎.github/workflows/ci-linux.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Linux-CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up miniconda
18+
uses: conda-incubator/setup-miniconda@v3.0.1
19+
with:
20+
channels: conda-forge
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Set up Conda environment
24+
shell: "bash -l {0}"
25+
run: >
26+
conda create --name "viprs_ci" -c conda-forge -c anaconda
27+
python=${{matrix.python-version}} pip wheel compilers openblas -y
28+
29+
- name: Install viprs
30+
shell: "bash -l {0}"
31+
run: |
32+
conda activate viprs_ci
33+
python -m pip install -v -e .[test]
34+
35+
- name: Run tests
36+
shell: "bash -l {0}"
37+
run: |
38+
conda activate viprs_ci
39+
pytest -v

0 commit comments

Comments
 (0)
Please sign in to comment.