Skip to content

Add test workflows based on salt-test #1

Add test workflows based on salt-test

Add test workflows based on salt-test #1

Workflow file for this run

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:

Check failure on line 18 in .github/workflows/unit-opensuse.yml

View workflow run for this annotation

GitHub Actions / Unit tests

Invalid workflow file

The workflow is not valid. .github/workflows/unit-opensuse.yml (Line: 18, Col: 9): Unexpected value '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