Skip to content

Commit

Permalink
add ci with icetray docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmeagher committed Dec 6, 2024
1 parent 97529c5 commit 2cf113f
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,34 @@ jobs:
with:
fail_ci_if_error: false
verbose: true
TestsIceTray:
runs-on: ubuntu-latest
container: icecube/icetray:icetray-prod-v1.11.1-ubuntu22.04-X64
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Install i3astropy
run: python3 -m pip install .[test]
- name: Run Unit Tests
run: pytest --junit-xml=test-results-icetray.junit.xml
- name: Upload Test Results
uses: actions/upload-artifact@v4
if: always()
with:
if-no-files-found: error
name: test-results-icetray.junit.xml
path: test-results-icetray.junit.xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: false
verbose: true
publish-test-results:
name: "Publish Tests Results"
needs: Tests
needs: [Tests, TestsIceTray]
runs-on: ubuntu-latest
permissions:
checks: write
Expand Down

0 comments on commit 2cf113f

Please sign in to comment.