Skip to content

Commit

Permalink
updated the test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-avinash committed Mar 13, 2024
1 parent 7a5d510 commit 6dafad8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Taken from <https://squidfunk.github.io/mkdocs-material/publishing-your-site/#with-github-actions>

name: documentation
name: Documentation
on:
push:
branches:
Expand All @@ -26,5 +26,7 @@ jobs:
path: .cache
restore-keys: |
mkdocs-material-
# The line below is to enable the docstring for the lbsim_interface.py
- run: pip install --no-deps litebird_sim
- run: pip install mkdocs-material mkdocstrings[python]
- run: mkdocs gh-deploy --force
12 changes: 6 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# setting up testing: <https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#testing-your-code>
# setting up compiler: <https://github.com/marketplace/actions/setup-c-c-compiler>

name: BrahMap testing
name: Tests
on:
push:
branches:
Expand All @@ -21,11 +21,11 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install compiler
id: install_cc
uses: rlalik/setup-cpp-compiler@master
with:
compiler: gcc-10
# - name: Install compiler
# id: install_cc
# uses: rlalik/setup-cpp-compiler@master
# with:
# compiler: gcc-10 # This compiler has been failing with (macos-latest, 3.11/3.12)
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# BrahMap

<!-- markdownlint-disable MD013 -->
![BrahMap testsuite](https://github.com/anand-avinash/BrahMap/actions/workflows/tests.yaml/badge.svg)
![BrahMap documentation build status](https://github.com/anand-avinash/BrahMap/actions/workflows/documentation.yaml/badge.svg)
<!-- markdownlint-enable MD013 -->

<!-- markdownlint-disable MD033 -->
<font color="red"> **This project is currently under active development!!!** </font>
<!-- markdownlint-disable MD033 -->
<!-- markdownlint-enable MD033 -->

`BrahMap` is an optimal map-making framework for the future CMB experiments,
based on [COSMOMAP2](https://github.com/giuspugl/COSMOMAP2), as described in
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
define_macros=None,
extra_compile_args=[
"-O3",
"-march=native",
# "-march=native",
"-Wall",
"-shared",
"-std=c++14",
Expand All @@ -33,7 +33,7 @@
define_macros=None,
extra_compile_args=[
"-O3",
"-march=native",
# "-march=native",
"-Wall",
"-shared",
"-std=c++14",
Expand Down

0 comments on commit 6dafad8

Please sign in to comment.