Skip to content

Commit

Permalink
repeat examples
Browse files Browse the repository at this point in the history
  • Loading branch information
j-faria committed Mar 26, 2024
1 parent 3f06560 commit 1df0de8
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
run: |
python -c "import kima"
run-51Peg:
run-examples:
strategy:
matrix:
example:
- _51Peg
- multi_instruments
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -33,6 +35,21 @@ jobs:
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt

- name: test import
- name: run example
run: |
python -c "from kima.examples import _51Peg; _51Peg()"
python -c "from kima.examples import ${{ matrix.example }}; ${{ matrix.example }}(run=True, load=True)"
# run-51Peg:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# cache: 'pip' # caching pip dependencies
# - run: pip install -r requirements.txt

# - name: run example
# run: |
# python -c "from kima.examples import _51Peg; _51Peg(run=True, load=True)"

0 comments on commit 1df0de8

Please sign in to comment.