Skip to content

Commit

Permalink
Fixed CI - build only against Tumbleweed
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 6, 2023
1 parent 8e24f92 commit 7d043bd
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions

name: CI

on: [push, pull_request]
on: [ push, pull_request ]

jobs:
Package:
Expand All @@ -12,18 +11,17 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [ "tumbleweed", "leap_latest" ]
distro: [ "tumbleweed" ]

container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby

steps:
- name: Git Checkout
uses: actions/checkout@v2

- name: Git Checkout
uses: actions/checkout@v2

- name: Package Build
run: yast-ci-ruby -o package
- name: Package Build
run: yast-ci-ruby -o package

# downloading the Docker image takes some time so bundling several fast
# checks into one job avoids that overhead
Expand All @@ -33,23 +31,22 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [ "leap_latest" ]
distro: [ "tumbleweed" ]

container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby

steps:
- name: Git Checkout
uses: actions/checkout@v2

- name: Git Checkout
uses: actions/checkout@v2

# just for easier debugging...
- name: Inspect Installed Packages
run: rpm -qa | sort
# just for easier debugging...
- name: Inspect Installed Packages
run: rpm -qa | sort

# run checks
- name: XML Check
run: make -C control check
# run checks
- name: XML Check
run: make -C control check

- name: POT Check
run: rake check:pot
- name: POT Check
run: rake check:pot

0 comments on commit 7d043bd

Please sign in to comment.