Fix deprecated code #178
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: 1 | |
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 --color=yes |