|
23 | 23 | include: |
24 | 24 | - python-version: "3.14" |
25 | 25 | os: macos-26 |
26 | | - - python-version: "3.15" |
27 | | - os: macos-26 |
28 | 26 | steps: |
29 | 27 | - uses: actions/checkout@v6 |
30 | 28 | - name: Set up Python ${{ matrix.python-version }} |
@@ -60,36 +58,36 @@ jobs: |
60 | 58 | with: |
61 | 59 | fail_ci_if_error: false |
62 | 60 | verbose: true |
63 | | - TestsIceTray: |
64 | | - env: |
65 | | - UV_SYSTEM_PYTHON: 1 |
66 | | - runs-on: ubuntu-latest |
67 | | - container: icecube/icetray:icetray-devel-current-ubuntu22.04-X64 |
68 | | - strategy: |
69 | | - fail-fast: false |
70 | | - steps: |
71 | | - - uses: actions/checkout@v6 |
72 | | - - name: Install uv |
73 | | - uses: astral-sh/setup-uv@v7 |
74 | | - with: |
75 | | - enable-cache: true |
76 | | - - name: Install SimWeights |
77 | | - run: uv pip install -e .[test] |
78 | | - - name: Download Test Data |
79 | | - run: | |
80 | | - curl -u icecube:${{ secrets.ICECUBE_PASSWORD }} https://convey.icecube.wisc.edu/data/ana/Software/simweights/test-data/simweights_testdata.tar.gz -O |
81 | | - tar xzvf simweights_testdata.tar.gz |
82 | | - - name: Run Unit Tests |
83 | | - env: |
84 | | - SIMWEIGHTS_TESTDATA: . |
85 | | - run: /opt/icetray/bin/icetray-shell python -m pytest --junit-xml=test-results-icetray.junit.xml |
86 | | - - name: Upload Test Results |
87 | | - uses: actions/upload-artifact@v7 |
88 | | - if: always() |
89 | | - with: |
90 | | - if-no-files-found: error |
91 | | - name: test-results-icetray.junit.xml |
92 | | - path: test-results-icetray.junit.xml |
| 61 | + # TestsIceTray: |
| 62 | + # env: |
| 63 | + # UV_SYSTEM_PYTHON: 1 |
| 64 | + # runs-on: ubuntu-latest |
| 65 | + # container: icecube/icetray:icetray-devel-current-ubuntu22.04-X64 |
| 66 | + # strategy: |
| 67 | + # fail-fast: false |
| 68 | + # steps: |
| 69 | + # - uses: actions/checkout@v6 |
| 70 | + # - name: Install uv |
| 71 | + # uses: astral-sh/setup-uv@v7 |
| 72 | + # with: |
| 73 | + # enable-cache: true |
| 74 | + # - name: Install SimWeights |
| 75 | + # run: uv pip install -e .[test] |
| 76 | + # - name: Download Test Data |
| 77 | + # run: | |
| 78 | + # curl -u icecube:${{ secrets.ICECUBE_PASSWORD }} https://convey.icecube.wisc.edu/data/ana/Software/simweights/test-data/simweights_testdata.tar.gz -O |
| 79 | + # tar xzvf simweights_testdata.tar.gz |
| 80 | + # - name: Run Unit Tests |
| 81 | + # env: |
| 82 | + # SIMWEIGHTS_TESTDATA: . |
| 83 | + # run: /opt/icetray/bin/icetray-shell python -m pytest --junit-xml=test-results-icetray.junit.xml |
| 84 | + # - name: Upload Test Results |
| 85 | + # uses: actions/upload-artifact@v7 |
| 86 | + # if: always() |
| 87 | + # with: |
| 88 | + # if-no-files-found: error |
| 89 | + # name: test-results-icetray.junit.xml |
| 90 | + # path: test-results-icetray.junit.xml |
93 | 91 | publish-test-results: |
94 | 92 | name: "Publish Tests Results" |
95 | 93 | needs: Tests |
|
0 commit comments