Skip to content

Commit

Permalink
Give up running PyROOT tests on standard runners
Browse files Browse the repository at this point in the history
  • Loading branch information
gipert committed Jul 4, 2023
1 parent be8b933 commit 83b4a60
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Test PyROOT
run: python -c 'import ROOT'
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
Expand All @@ -53,8 +51,6 @@ jobs:
runs-on: ubuntu-latest
container: docker://g4edge/pyg4ometry:latest
steps:
- name: Test PyROOT
run: python -c 'import ROOT'
- uses: actions/checkout@v3
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
Expand All @@ -65,7 +61,7 @@ jobs:
MAKEFLAGS=-j${{ steps.cpu-cores.outputs.count }} python -m pip install --upgrade --verbose .[test]
- name: Run unit tests
run: |
python -m pytest
python -m pytest --runxfail
test-coverage:
name: Calculate and upload test coverage
Expand All @@ -81,16 +77,14 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Test PyROOT
run: python -c 'import ROOT'
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- name: Generate Report
run: |
python -m pip install --upgrade pip wheel setuptools
MAKEFLAGS=-j${{ steps.cpu-cores.outputs.count }} python -m pip install --upgrade --verbose .[test]
python -m pytest --cov=pyg4ometry --cov-report=xml
python -m pytest --runxfail --cov=pyg4ometry --cov-report=xml
- name: Upload Coverage to codecov.io
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 83b4a60

Please sign in to comment.