Avoid conflicts in PRs created via os-autoinst-obs-auto-submit
#1779
Workflow file for this run
This file contains hidden or 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: ci | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
pip install --upgrade pip | |
pip install pytest mocker pytest-mock | |
python --version | |
pytest --version | |
- run: | | |
sudo apt-get install cpanminus html-xml-utils xmlstarlet | |
sudo cpanm -n -M https://cpan.metacpan.org --installdeps . | |
- name: unit- and integration tests | |
run: | | |
make test-unit | |
style: | |
runs-on: ubuntu-latest | |
container: | |
image: registry.opensuse.org/home/okurz/container/containers/os-autoinst-scripts-devel | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Static checks | |
run: | | |
git config --global --add safe.directory . | |
make checkstyle |