Skip to content

Commit

Permalink
Add workflow for thin ds test
Browse files Browse the repository at this point in the history
  • Loading branch information
Honny1 committed Mar 26, 2024
1 parent fc10909 commit 576f1c4
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/gate_thin_ds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Gate Thin DS
on:
merge_group:
branches: [ 'master' ]
push:
branches: ['*', '!stabilization*', '!stable*', 'master' ]
pull_request:
branches: [ 'master', 'stabilization*' ]
concurrency:
group: ${{ github.workflow }}-fedora-${{ github.event.number || github.run_id }}
cancel-in-progress: true
jobs:
build-and-test-thin-ds:
name: Build, Test on Fedora Latest (Container)
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Install Deps
run: dnf install -y cmake make openscap-utils python3-pyyaml bats ansible python3-pip ShellCheck git gcc gcc-c++ python3-devel python3-lxml python3-pytest
- name: Checkout
uses: actions/checkout@v4
- name: Install deps python
run: pip install pcre2 -r requirements.txt -r test-requirements.txt
- name: Build
run: |-
./build_product \
alinux2 \
alinux3 \
anolis23 \
anolis8 \
chromium \
fedora \
firefox \
rhcos4 \
rhel7 \
rhel8 \
rhel9 \
rhel10 \
uos20 \
ocp4 \
eks \
--thin
- name: Test
run: python3 -m pytest -n auto tests/test_thin_ds.py

0 comments on commit 576f1c4

Please sign in to comment.