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 15a2788 commit ec61f1f
Showing 1 changed file with 22 additions and 27 deletions.
49 changes: 22 additions & 27 deletions .github/workflows/ci.yml
@@ -1,13 +1,12 @@

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

name: CI

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

jobs:

# FIXME: No unit tests :-(
# FIXME: No unit tests :-(
# Tests:
# runs-on: ubuntu-latest
# container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
Expand Down Expand Up @@ -39,56 +38,53 @@ 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: Rubocop
run: rake check:rubocop
- name: Rubocop
run: rake check:rubocop

Package:
runs-on: ubuntu-latest

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

Yardoc:
runs-on: ubuntu-latest

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

- name: Yardoc
run: rake check:doc
- name: Yardoc
run: rake check:doc

# downloading the Docker image takes some time so bundling several fast
# checks into one job avoids that overhead
Expand All @@ -98,15 +94,14 @@ 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

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

0 comments on commit ec61f1f

Please sign in to comment.