1
0
mirror of https://github.com/openSUSE/osc.git synced 2026-02-01 02:18:59 +01:00
Commit Graph

62 Commits

Author SHA1 Message Date
274d78a620 Require python3-PyYAML instead of python3-ruamel.yaml on SLE 2025-07-15 13:56:12 +02:00
710df1a52a GHA: fix typo a condition in tests.yaml 2025-07-15 13:49:31 +02:00
a8f3c5b3c4 GHA: Migrate to actions/checkout@v4 2025-07-15 13:38:46 +02:00
e4081e6cc3 GHA: Switch to bci-base:15.7 2025-07-14 16:38:42 +02:00
6d2586d780 GHA: install libwww-perl required by obs-scm-bridge in behave tests 2025-07-07 10:36:04 +02:00
5bd65b3bf1 update to test against the currently supported releases 2025-07-02 11:59:20 +02:00
Andrii Nikitin
2010dbde5c ci: Suppress mypy failure
There is no much point in always failing mypy in the current state.
I suggest suppressing the failure until it is ready and make PRs green again
2025-04-29 10:19:05 +02:00
eacfbf77ed behave: Show info about the built image during the container image build 2025-04-07 16:54:24 +02:00
9bbe39de53 Add osc service precommit, for use with git hook
and create a binary to call it directly
2025-04-07 09:06:00 +02:00
75daac6ca6 Merge pull request #1676 from crazyscientist/pypi-publish-1279
GH action for PyPI publication
2025-03-03 08:29:08 +01:00
abcc830fc9 Allow manual triggering of all Github CI jobs 2025-02-18 18:22:47 +01:00
7298f5cddf Fix build-install CI job
The job unit-ro is from a different file, so "needs" can not find it.
Remove it as there is no dependency.

An alternative would be to merge both files into one. It might save work
on some broken PRs.
2025-02-18 18:22:38 +01:00
Andreas Hasenkopf
b09bab54cb GH action for PyPI publication
Automatically release to PyPI when
creating a release in GH
2025-02-12 17:03:51 +01:00
b938585cfb GHA: switch pylint to the latest version from pypi 2025-01-15 17:02:16 +01:00
124528e68b Add 'git-obs pr' command 2025-01-15 17:02:16 +01:00
4215d1a43d GHA: Install obs-scm-bridge directly from github in the behave test 2024-11-05 13:46:14 +01:00
e179b0f002 GHA: Add missing dependencies to linters workflow 2024-11-05 10:36:30 +01:00
d20b758ae2 behave: Define 'git-obs' path when running the tests 2024-11-05 10:09:47 +01:00
a901206a5f behave: Add tests for git-obs commands, update test suite as needed 2024-10-11 13:13:26 +02:00
699f4d860e Add 'gitea_api' module
Co-authored-by: Dan Čermák <dcermak@suse.com>
2024-09-24 14:01:43 +02:00
e19f1bb5d9 Replace 'setup.py test' that was removed in setuptools 72 with 'python3 -m unittest' 2024-08-27 11:01:30 +02:00
2da4e6f999 Add Leap 15.6 2024-08-16 09:25:22 +02:00
5c8079f7ed Remove Fedora 38, add Fedora 40 2024-08-16 09:25:10 +02:00
b8e187cc70 Fix tests so they don't modify fixtures 2024-06-25 08:48:45 +02:00
0021b2d237 GHA: Install dnf5-plugins instead of dnf-plugins-core where dnf5 is installed 2024-05-10 14:20:42 +02:00
6322e2f9aa Propagate exit code from the run() and do_() commandline methods 2024-04-10 15:04:05 +02:00
921942d15d GHA: Install epel-release on RHEL and its clones in the rpmbuild test 2023-11-23 16:12:56 +01:00
7fff395e7d Merge pull request #1430 from dmach/virtualenv
Support installing osc into virtualenv
2023-11-15 13:02:53 +01:00
526adc345a GHA: Update test matrix to run on Fedora 38 and 39 2023-11-15 09:07:30 +01:00
d53b2981c8 Support installing osc into virtualenv 2023-11-03 10:21:42 +01:00
f60db24e15 Add 'git_scm' module for handling packages that live in git scm rather than usual obs scm 2023-07-28 14:41:59 +02:00
ab967a921c Revert "GHA: Fix podman push error 'obs-server:latest: image not known'"
This reverts commit 722bd5003a.
2023-06-19 09:26:19 +02:00
722bd5003a GHA: Fix podman push error 'obs-server:latest: image not known' 2023-06-19 09:05:11 +02:00
e17a4a3108 GHA: Add 'leap:15.5' container to the test matrix 2023-06-01 13:38:40 +02:00
4264a63ce4 GHA: Use explicit registries 2023-06-01 13:37:27 +02:00
f4e2e50e29 GHA: Disable repo 'repo-openh264' during tests
We don't use it
2023-05-23 15:04:53 +02:00
1e48f01fef GHA: Install deps from extras_require and requirements.txt in the pylint_plugins job 2023-03-20 16:08:27 +01:00
0c0bc39f63 GHA: Add sle-prjmgr-tools to the pylint_plugins job 2023-03-20 14:55:45 +01:00
f16c6806fd GHA: Enable global.break-system-packages option for pip 2023-02-14 14:46:09 +01:00
9fcdec995d GHA: Switch darker to version 1.6.1 2023-01-26 14:53:28 +01:00
7d9017d0b3 GHA: Add a pylint run reporting errors in the code 2023-01-20 16:30:55 +01:00
822725effc GHA: Cancel the currently running jobs on force-pushing a pull-request 2023-01-19 10:54:18 +01:00
0c579a83b4 GHA: Print pylint logs before diffing them 2023-01-19 10:54:01 +01:00
a66d40fe3a behave: Speed running tests up by preparing containers in advance 2023-01-16 10:19:43 +01:00
7e2f4a1fa0 GHA: Trigger tests also when the 'behave' directory changes 2022-12-08 10:08:09 +01:00
3040b1ddac GHA: No longer test on push to master
We're monitoring only the pull-requests, so don't waste resources on this
2022-12-08 10:03:30 +01:00
b00f66b3f6 Move behave tests from Kanku to Podman, run them in GitHub actions 2022-12-07 15:05:15 +01:00
7eeb564b7c GHA: Add a workflow for building a container image with preconfigured OBS 2022-12-07 14:49:27 +01:00
Enno Gotthold
e23e13062f CI: Add code linters
This adds mypy & darker (black) to GitHub Actions. These will fail because
the code lacks type annotations and doesn't follow the latest code style
guidelines yet.
2022-12-05 14:43:53 +01:00
LGTM Migrator
26373fbe37 Add CodeQL workflow for GitHub code scanning 2022-11-09 08:23:14 +00:00