Add test workflows based on salt-test #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fast unit tests | ||
on: | ||
push: | ||
branches: [openSUSE/release/3006.0] | ||
pull_request: | ||
branches: [openSUSE/release/3006.0] | ||
workflow_dispatch: | ||
jobs: | ||
fast-unit-tests: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_ACTIONS=$GITHUB_ACTIONS | ||
Check failure on line 14 in .github/workflows/unit-fast-opensuse-leap.yml GitHub Actions / Fast unit testsInvalid workflow file
|
||
container: | ||
image: registry.opensuse.org/systemsmanagement/saltstack/products/testing/containers/leap15.5/containers/salt-testsuite-github:leap15.5 | ||
options: --hostname=salt-test-container | ||
steps: | ||
- name: Checkout Salt | ||
uses: actions/checkout@v4 | ||
- name: Fix the Salt version in _version.txt file | ||
run: rpm -q python3-salt-testsuite --queryformat '%{VERSION}' > $GITHUB_WORKSPACE/salt/_version.txt | ||
- name: Run Fast unit tests | ||
run: | | ||
salt-test --skiplist https://raw.githubusercontent.com/openSUSE/salt-test-skiplist/main/skipped_tests.toml \ | ||
--directory . --package-flavor classic unit -- -vvv |