gecko-dev/testing/mozharness
2024-02-05 15:23:59 +00:00
..
configs Bug 1835939 - Upgrade openh264 builds to macOS SDK 13.3. r=media-playback-reviewers,releng-reviewers,gbrown,aosmond 2023-05-31 19:47:42 +00:00
docs
examples
external_tools Bug 1835708 - Upgrade mercurial to 6.4.3 in docker images. r=sheehan 2023-05-30 20:51:50 +00:00
mozharness Bug 1847107 - Allow one-off extra mozconfig content in mozharness. r=releng-reviewers,gbrown, a=dmeehan 2023-08-03 22:02:10 +00:00
scripts Bug 1857516 - Get rid of deprecated imp python module in favor of importlib CLOSED TREE a=pascalc 2024-02-05 15:23:59 +00:00
test Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish 2023-05-09 16:14:51 +00:00
LICENSE
mach_commands.py
moz.build
README.txt
requirements.txt
setup.cfg
setup.py
tox.ini
unit.sh

# Mozharness

## Docs
* https://developer.mozilla.org/en-US/docs/Mozharness_FAQ
* https://wiki.mozilla.org/ReleaseEngineering/Mozharness
* http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html
* http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness

## Submitting changes
Like any Gecko change, please create a patch or submit to Mozreview and
open a Bugzilla ticket under the Mozharness component:
https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness

This bug will get triaged by Release Engineering

## Run unit tests
To run the unit tests of mozharness the `tox` package needs to be installed:

```
pip install tox
```

There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below:

```
tox                            # run all unit tests
tox -- -x                      # run all unit tests but stop after first failure
tox -- test/test_base_log.py   # only run the base log unit test
```

Happy contributing! =)