Skip to content

Commit

Permalink
squash: move extended test suite around
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed Mar 18, 2024
1 parent 9fd2a20 commit bf380ea
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
name: /plans/features/(core|basic)

# Test pull requests (full)
# Do not run extended unit tests, that plan gets its own job because
# of podman vs systemd-resolved flakiness.
- job: tests
identifier: full
trigger: pull_request
Expand All @@ -61,6 +63,26 @@ jobs:
- full test
absent:
- discuss
tf_extra_params:
test:
tmt:
name: '^(?!/plans/features/extended-unit-tests).*$'

- job: tests
identifier: full
trigger: pull_request
targets:
- fedora-39
require:
label:
present:
- full test
absent:
- discuss
tf_extra_params:
test:
tmt:
name: '/plans/features/extended-unit-tests$'

# Test pull requests (provision)
- job: tests
Expand Down
10 changes: 9 additions & 1 deletion tests/unit/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ require+:

# Run against development packages via `hatch`.
/with-development-packages:
enabled: true
enabled: false

adjust+:
- when: initiator is not defined or distro == fedora-39
because: Enable locally or in CI on Fedora 39

enabled: true

/basic:
summary: Basic unit tests (development packages)
Expand All @@ -56,6 +62,8 @@ require+:

adjust+:
- when: initiator == packit
because: Enable in CI only

enabled: true

/basic:
Expand Down

0 comments on commit bf380ea

Please sign in to comment.