mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-11 16:36:14 +01:00
Replace 'setup.py test' that was removed in setuptools 72 with 'python3 -m unittest'
This commit is contained in:
parent
0d6f71a5cf
commit
e19f1bb5d9
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
run: |
|
||||
pip3 config set global.break-system-packages 1
|
||||
pip3 install -e .
|
||||
python3 setup.py test
|
||||
python3 -m unittest
|
||||
|
||||
unit:
|
||||
name: "unit"
|
||||
@ -109,7 +109,7 @@ jobs:
|
||||
run: |
|
||||
pip3 config set global.break-system-packages 1
|
||||
pip3 install -e .
|
||||
python3 setup.py test
|
||||
python3 -m unittest
|
||||
|
||||
- name: 'Generate coverage reports (openSUSE Tumbleweed)'
|
||||
if: ${{ contains(matrix.container, '/opensuse/tumbleweed') }}
|
||||
|
@ -192,7 +192,7 @@ install -Dm0644 oscrc.5 %{buildroot}%{_mandir}/man5/oscrc.5
|
||||
%python3_fix_shebang
|
||||
|
||||
%check
|
||||
%{use_python} setup.py test
|
||||
%{use_python} -m unittest
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user