Skip to content

Commit

Permalink
Add unit test workflow based on salt-test
Browse files Browse the repository at this point in the history
  • Loading branch information
agraul committed Jan 3, 2024
1 parent b2baafc commit f569b37
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unit-opensuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Unit tests

on:
push:
branches: [openSUSE/release/3006.0]
pull_request:
branches: [openSUSE/release/3006.0]
workflow_dispatch:

jobs:
unit-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout Salt
uses: actions/checkout@v4
- name: Run unit tests
container:
image: registry.opensuse.orgsystemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5
volumes:
- salt:/code

run: |
salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \
--directory /code --package-flavor classic unit

0 comments on commit f569b37

Please sign in to comment.