1919jobs :
2020 test-dirac-common :
2121 runs-on : ubuntu-latest
22- strategy :
23- matrix :
24- python-version : ['3.11', '3.12']
2522
2623 steps :
2724 - uses : actions/checkout@v4
@@ -32,46 +29,10 @@ jobs:
3229 with :
3330 cache : false
3431 environments : testing
32+ manifest-path : dirac-common/pyproject.toml
3533
3634 - name : Run tests with pixi
3735 run : |
3836 cd dirac-common
3937 pixi add --feature testing pytest-github-actions-annotate-failures
4038 pixi run pytest
41-
42- - name : Upload coverage to Codecov
43- if : matrix.python-version == '3.11'
44- uses : codecov/codecov-action@v3
45- with :
46- file : ./dirac-common/coverage.xml
47- flags : dirac-common
48- name : dirac-common-coverage
49-
50- integration-test :
51- runs-on : ubuntu-latest
52- needs : test-dirac-common
53- strategy :
54- matrix :
55- python-version : ['3.11']
56-
57- steps :
58- - uses : actions/checkout@v4
59-
60- - name : Set up Python ${{ matrix.python-version }}
61- uses : actions/setup-python@v5
62- with :
63- python-version : ${{ matrix.python-version }}
64-
65- - name : Install both packages
66- run : |
67- pip install -e ./dirac-common
68- pip install -e ".[testing]"
69-
70- - name : Test backward compatibility
71- run : |
72- python -c "from DIRAC.Core.Utilities.ReturnValues import S_OK, S_ERROR; print(S_OK('Test'))"
73- python -c "from DIRAC.Core.Utilities.DErrno import strerror, ETYPE; print(strerror(ETYPE))"
74-
75- - name : Run DIRAC tests that use ReturnValues
76- run : |
77- pytest src/DIRAC/Core/Utilities/test/Test_ReturnValues.py -v
0 commit comments