re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-28 14:39:50 +02:00
parent d0c46f0806
commit a7ca0a7d72
3 changed files with 31 additions and 0 deletions

7
.gitignore vendored
View File

@ -1 +1,8 @@
/monad-control-0.3.1.tar.gz
/monad-control-0.3.1.3.tar.gz
/monad-control-0.3.1.4.tar.gz
/monad-control-0.3.2.1.tar.gz
/monad-control-0.3.3.0.tar.gz
/monad-control-0.3.3.1.tar.gz
/monad-control-1.0.1.0.tar.gz
/monad-control-1.0.2.2.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

18
tests/tests.yml Normal file
View File

@ -0,0 +1,18 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
vars:
- pkg: "{{playbook_dir|dirname|basename}}"
- develpkg: "{{pkg}}-devel"
- pkgname: "{{pkg|regex_replace('^ghc-(.*)$', '\\1')}}"
required_packages:
- "{{develpkg}}"
tests:
- ghc:
run: echo 'main = return ()' > test.hs; ghc -package {{pkgname}} test.hs; ./test
- revdeps:
run: revdeps=$(dnf -q repoquery --qf "%{name}" --whatrequires={{develpkg}}); if [ -z "${revdeps}" ]; then echo "No valid dependents"; exit 1; else dnf -y install ${revdeps}; fi
...