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 df10379 commit 7cf3cae
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@

# 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 All @@ -32,7 +31,7 @@ jobs:
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}

# FIXME: Rubocop not used
# FIXME: Rubocop not used
# Rubocop:
# runs-on: ubuntu-latest
# container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
Expand All @@ -51,37 +50,35 @@ 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

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 @@ -91,15 +88,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 7cf3cae

Please sign in to comment.