-
Notifications
You must be signed in to change notification settings - Fork 33
29 lines (27 loc) · 939 Bytes
/
test_example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: test_example
on: [ push ]
jobs:
test_example:
strategy:
matrix:
os: [ "windows-latest", "ubuntu-latest" ] #, "macos-latest"]
python-version: [ "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
pip install -e '.[example]'
- name: Run example script
run: |
python3 examples/us_bmode_linear_transducer/us_bmode_linear_transducer.py
- name: Upload example results
uses: actions/upload-artifact@v3
with:
name: example_bmode_reconstruction_results_${{ matrix.os }}_${{ matrix.python-version }}
path: ${{ github.workspace }}/example_bmode.png