|
10 | 10 |
|
11 | 11 | jobs: |
12 | 12 | test: |
13 | | - name: Test |
| 13 | + name: Unittests+streamlit |
14 | 14 | runs-on: ubuntu-latest |
15 | 15 | strategy: |
16 | 16 | matrix: |
|
30 | 30 | pip install -e . |
31 | 31 | - name: Run tests |
32 | 32 | run: python -m pytest tests |
| 33 | + - name: Execute streamlit report |
| 34 | + run: | |
| 35 | + cd docs |
| 36 | + vuegen --config example_data/MicW2Graph/report_config_micw2graph.yaml |
33 | 37 | |
| 38 | + other-reports: |
| 39 | + name: Integration tests |
| 40 | + runs-on: ubuntu-latest |
| 41 | + strategy: |
| 42 | + matrix: |
| 43 | + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] |
| 44 | + steps: |
| 45 | + - uses: actions/checkout@v4 |
| 46 | + - name: Set up Python ${{ matrix.python-version }} |
| 47 | + uses: actions/setup-python@v5 |
| 48 | + with: |
| 49 | + python-version: ${{ matrix.python-version }} |
| 50 | + cache: 'pip' # caching pip dependencies |
| 51 | + cache-dependency-path: '**/pyproject.toml' |
| 52 | + - name: Install dependencies |
| 53 | + run: | |
| 54 | + pip install --upgrade pip |
| 55 | + pip install -e ".[quarto]" |
| 56 | + - name: Execute streamlit report (to check) |
| 57 | + run: | |
| 58 | + cd docs |
| 59 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml |
| 60 | + # repeat for easier inspection on GitHub: |
| 61 | + - name: quarto html report |
| 62 | + run: | |
| 63 | + cd docs |
| 64 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt html |
| 65 | + - name: quarto pdf report |
| 66 | + run: | |
| 67 | + cd docs |
| 68 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt pdf |
| 69 | + - name: quarto docx report |
| 70 | + run: | |
| 71 | + cd docs |
| 72 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt docx |
| 73 | + - name: quarto odt report |
| 74 | + run: | |
| 75 | + cd docs |
| 76 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt odt |
| 77 | + - name: quarto revealjs report |
| 78 | + run: | |
| 79 | + cd docs |
| 80 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt revealjs |
| 81 | + - name: quarto pptx report |
| 82 | + run: | |
| 83 | + cd docs |
| 84 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt pptx |
| 85 | + - name: quarto jupyter report |
| 86 | + run: | |
| 87 | + cd docs |
| 88 | + vuegen -c example_data/MicW2Graph/report_config_micw2graph.yaml -rt jupyter |
0 commit comments