mirror of
https://github.com/progval/irctest.git
synced 2025-04-07 07:49:52 +00:00
Split Unreal/Insp's tests between Atheme and serviceless
it should make the critical path (insp) slightly shorter
This commit is contained in:
66
.github/workflows/test-devel.yml
vendored
66
.github/workflows/test-devel.yml
vendored
@ -148,8 +148,10 @@ jobs:
|
|||||||
- test-solanum
|
- test-solanum
|
||||||
- test-ergo
|
- test-ergo
|
||||||
- test-inspircd
|
- test-inspircd
|
||||||
|
- test-inspircd-atheme
|
||||||
- test-inspircd-anope
|
- test-inspircd-anope
|
||||||
- test-unrealircd
|
- test-unrealircd
|
||||||
|
- test-unrealircd-atheme
|
||||||
- test-unrealircd-anope
|
- test-unrealircd-anope
|
||||||
- test-limnoria
|
- test-limnoria
|
||||||
- test-sopel
|
- test-sopel
|
||||||
@ -304,6 +306,38 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results anope (devel)
|
name: pytest results anope (devel)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
|
test-inspircd-atheme:
|
||||||
|
needs:
|
||||||
|
- build-inspircd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Download build artefacts
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: installed-inspircd
|
||||||
|
path: '~'
|
||||||
|
- name: Unpack artefacts
|
||||||
|
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
|
||||||
|
- name: Install Atheme
|
||||||
|
run: sudo apt-get install atheme-services
|
||||||
|
- name: Install irctest dependencies
|
||||||
|
run: |-
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest -r requirements.txt
|
||||||
|
- name: Test with pytest
|
||||||
|
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PYTEST_ARGS="$PYTEST_ARGS
|
||||||
|
-m 'not services'" PATH=~/.local/inspircd/bin:$PATH make inspircd-atheme
|
||||||
|
- if: always()
|
||||||
|
name: Publish results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pytest results inspircd (devel)
|
||||||
|
path: pytest.xml
|
||||||
test-limnoria:
|
test-limnoria:
|
||||||
needs: []
|
needs: []
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -458,6 +492,38 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results anope (devel)
|
name: pytest results anope (devel)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
|
test-unrealircd-atheme:
|
||||||
|
needs:
|
||||||
|
- build-unrealircd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Download build artefacts
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: installed-unrealircd
|
||||||
|
path: '~'
|
||||||
|
- name: Unpack artefacts
|
||||||
|
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
|
||||||
|
- name: Install Atheme
|
||||||
|
run: sudo apt-get install atheme-services
|
||||||
|
- name: Install irctest dependencies
|
||||||
|
run: |-
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest -r requirements.txt
|
||||||
|
- name: Test with pytest
|
||||||
|
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/bin:$PATH
|
||||||
|
make unrealircd-atheme
|
||||||
|
- if: always()
|
||||||
|
name: Publish results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pytest results unrealircd (devel)
|
||||||
|
path: pytest.xml
|
||||||
name: irctest with devel versions
|
name: irctest with devel versions
|
||||||
'on':
|
'on':
|
||||||
schedule:
|
schedule:
|
||||||
|
66
.github/workflows/test-devel_release.yml
vendored
66
.github/workflows/test-devel_release.yml
vendored
@ -68,8 +68,10 @@ jobs:
|
|||||||
- test-solanum
|
- test-solanum
|
||||||
- test-ergo
|
- test-ergo
|
||||||
- test-inspircd
|
- test-inspircd
|
||||||
|
- test-inspircd-atheme
|
||||||
- test-inspircd-anope
|
- test-inspircd-anope
|
||||||
- test-unrealircd
|
- test-unrealircd
|
||||||
|
- test-unrealircd-atheme
|
||||||
- test-unrealircd-anope
|
- test-unrealircd-anope
|
||||||
- test-limnoria
|
- test-limnoria
|
||||||
- test-sopel
|
- test-sopel
|
||||||
@ -209,6 +211,38 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results anope (devel_release)
|
name: pytest results anope (devel_release)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
|
test-inspircd-atheme:
|
||||||
|
needs:
|
||||||
|
- build-inspircd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Download build artefacts
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: installed-inspircd
|
||||||
|
path: '~'
|
||||||
|
- name: Unpack artefacts
|
||||||
|
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
|
||||||
|
- name: Install Atheme
|
||||||
|
run: sudo apt-get install atheme-services
|
||||||
|
- name: Install irctest dependencies
|
||||||
|
run: |-
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest -r requirements.txt
|
||||||
|
- name: Test with pytest
|
||||||
|
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/bin:$PATH
|
||||||
|
make inspircd-atheme
|
||||||
|
- if: always()
|
||||||
|
name: Publish results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pytest results inspircd (devel_release)
|
||||||
|
path: pytest.xml
|
||||||
test-limnoria:
|
test-limnoria:
|
||||||
needs: []
|
needs: []
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -359,6 +393,38 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results anope (devel_release)
|
name: pytest results anope (devel_release)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
|
test-unrealircd-atheme:
|
||||||
|
needs:
|
||||||
|
- build-unrealircd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Download build artefacts
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: installed-unrealircd
|
||||||
|
path: '~'
|
||||||
|
- name: Unpack artefacts
|
||||||
|
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
|
||||||
|
- name: Install Atheme
|
||||||
|
run: sudo apt-get install atheme-services
|
||||||
|
- name: Install irctest dependencies
|
||||||
|
run: |-
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest -r requirements.txt
|
||||||
|
- name: Test with pytest
|
||||||
|
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/bin:$PATH
|
||||||
|
make unrealircd-atheme
|
||||||
|
- if: always()
|
||||||
|
name: Publish results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pytest results unrealircd (devel_release)
|
||||||
|
path: pytest.xml
|
||||||
name: irctest with devel_release versions
|
name: irctest with devel_release versions
|
||||||
'on':
|
'on':
|
||||||
schedule:
|
schedule:
|
||||||
|
66
.github/workflows/test-stable.yml
vendored
66
.github/workflows/test-stable.yml
vendored
@ -186,8 +186,10 @@ jobs:
|
|||||||
- test-solanum
|
- test-solanum
|
||||||
- test-ergo
|
- test-ergo
|
||||||
- test-inspircd
|
- test-inspircd
|
||||||
|
- test-inspircd-atheme
|
||||||
- test-inspircd-anope
|
- test-inspircd-anope
|
||||||
- test-unrealircd
|
- test-unrealircd
|
||||||
|
- test-unrealircd-atheme
|
||||||
- test-unrealircd-anope
|
- test-unrealircd-anope
|
||||||
- test-limnoria
|
- test-limnoria
|
||||||
- test-sopel
|
- test-sopel
|
||||||
@ -342,6 +344,38 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results anope (stable)
|
name: pytest results anope (stable)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
|
test-inspircd-atheme:
|
||||||
|
needs:
|
||||||
|
- build-inspircd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Download build artefacts
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: installed-inspircd
|
||||||
|
path: '~'
|
||||||
|
- name: Unpack artefacts
|
||||||
|
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
|
||||||
|
- name: Install Atheme
|
||||||
|
run: sudo apt-get install atheme-services
|
||||||
|
- name: Install irctest dependencies
|
||||||
|
run: |-
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest -r requirements.txt
|
||||||
|
- name: Test with pytest
|
||||||
|
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/inspircd/bin:$PATH
|
||||||
|
make inspircd-atheme
|
||||||
|
- if: always()
|
||||||
|
name: Publish results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pytest results inspircd (stable)
|
||||||
|
path: pytest.xml
|
||||||
test-limnoria:
|
test-limnoria:
|
||||||
needs: []
|
needs: []
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -496,6 +530,38 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results anope (stable)
|
name: pytest results anope (stable)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
|
test-unrealircd-atheme:
|
||||||
|
needs:
|
||||||
|
- build-unrealircd
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.7
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.7
|
||||||
|
- name: Download build artefacts
|
||||||
|
uses: actions/download-artifact@v2
|
||||||
|
with:
|
||||||
|
name: installed-unrealircd
|
||||||
|
path: '~'
|
||||||
|
- name: Unpack artefacts
|
||||||
|
run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \;
|
||||||
|
- name: Install Atheme
|
||||||
|
run: sudo apt-get install atheme-services
|
||||||
|
- name: Install irctest dependencies
|
||||||
|
run: |-
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install pytest -r requirements.txt
|
||||||
|
- name: Test with pytest
|
||||||
|
run: PYTEST_ARGS='--junit-xml pytest.xml' PATH=$HOME/.local/bin:$PATH PATH=~/.local/unrealircd/bin:$PATH
|
||||||
|
make unrealircd-atheme
|
||||||
|
- if: always()
|
||||||
|
name: Publish results
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: pytest results unrealircd (stable)
|
||||||
|
path: pytest.xml
|
||||||
name: irctest with stable versions
|
name: irctest with stable versions
|
||||||
'on':
|
'on':
|
||||||
pull_request: null
|
pull_request: null
|
||||||
|
14
Makefile
14
Makefile
@ -109,9 +109,16 @@ ergo:
|
|||||||
-k "$(ERGO_SELECTORS)"
|
-k "$(ERGO_SELECTORS)"
|
||||||
|
|
||||||
inspircd:
|
inspircd:
|
||||||
|
$(PYTEST) $(PYTEST_ARGS) \
|
||||||
|
--controller=irctest.controllers.inspircd \
|
||||||
|
-m 'not services' \
|
||||||
|
-k '$(INSPIRCD_SELECTORS)'
|
||||||
|
|
||||||
|
inspircd-atheme:
|
||||||
$(PYTEST) $(PYTEST_ARGS) \
|
$(PYTEST) $(PYTEST_ARGS) \
|
||||||
--controller=irctest.controllers.inspircd \
|
--controller=irctest.controllers.inspircd \
|
||||||
--services-controller=irctest.controllers.atheme_services \
|
--services-controller=irctest.controllers.atheme_services \
|
||||||
|
-m 'services' \
|
||||||
-k '$(INSPIRCD_SELECTORS)'
|
-k '$(INSPIRCD_SELECTORS)'
|
||||||
|
|
||||||
inspircd-anope:
|
inspircd-anope:
|
||||||
@ -143,9 +150,16 @@ sopel:
|
|||||||
-k '$(SOPEL_SELECTORS)'
|
-k '$(SOPEL_SELECTORS)'
|
||||||
|
|
||||||
unrealircd:
|
unrealircd:
|
||||||
|
$(PYTEST) $(PYTEST_ARGS) \
|
||||||
|
--controller=irctest.controllers.unrealircd \
|
||||||
|
-m 'not services' \
|
||||||
|
-k '$(UNREALIRCD_SELECTORS)'
|
||||||
|
|
||||||
|
unrealircd-atheme:
|
||||||
$(PYTEST) $(PYTEST_ARGS) \
|
$(PYTEST) $(PYTEST_ARGS) \
|
||||||
--controller=irctest.controllers.unrealircd \
|
--controller=irctest.controllers.unrealircd \
|
||||||
--services-controller=irctest.controllers.atheme_services \
|
--services-controller=irctest.controllers.atheme_services \
|
||||||
|
-m 'services' \
|
||||||
-k '$(UNREALIRCD_SELECTORS)'
|
-k '$(UNREALIRCD_SELECTORS)'
|
||||||
|
|
||||||
unrealircd-anope:
|
unrealircd-anope:
|
||||||
|
@ -155,12 +155,18 @@ tests:
|
|||||||
inspircd:
|
inspircd:
|
||||||
software: [inspircd]
|
software: [inspircd]
|
||||||
|
|
||||||
|
inspircd-atheme:
|
||||||
|
software: [inspircd]
|
||||||
|
|
||||||
inspircd-anope:
|
inspircd-anope:
|
||||||
software: [inspircd, anope]
|
software: [inspircd, anope]
|
||||||
|
|
||||||
unrealircd:
|
unrealircd:
|
||||||
software: [unrealircd]
|
software: [unrealircd]
|
||||||
|
|
||||||
|
unrealircd-atheme:
|
||||||
|
software: [unrealircd]
|
||||||
|
|
||||||
unrealircd-anope:
|
unrealircd-anope:
|
||||||
software: [unrealircd, anope]
|
software: [unrealircd, anope]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user