Disable Atheme tests on Insp4

This commit is contained in:
Valentin Lorentz 2021-07-07 22:06:38 +02:00
parent 4fcc13d9c1
commit b845642d07
3 changed files with 4 additions and 36 deletions

View File

@ -147,7 +147,6 @@ jobs:
- test-ergo - test-ergo
- test-inspircd - test-inspircd
- test-inspircd-anope - test-inspircd-anope
- test-inspircd-atheme
- test-limnoria - test-limnoria
- test-solanum - test-solanum
- test-sopel - test-sopel
@ -273,38 +272,6 @@ jobs:
with: with:
name: pytest results inspircd-anope (devel) name: pytest results inspircd-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-atheme (devel)
path: pytest.xml
test-limnoria: test-limnoria:
needs: [] needs: []
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -136,6 +136,9 @@ def get_build_job(*, software_config, software_id, version_flavor):
def get_test_job(*, config, test_config, test_id, version_flavor, jobs): def get_test_job(*, config, test_config, test_id, version_flavor, jobs):
if version_flavor.value in test_config.get("exclude_versions", []):
return None
env = "" env = ""
needs = [] needs = []
downloads = [] downloads = []

View File

@ -154,9 +154,7 @@ tests:
inspircd-atheme: inspircd-atheme:
software: [inspircd] software: [inspircd]
env: exclude_versions: [devel] # Atheme does not support Insp4 yet, so it fails to connect
# Atheme does not support Insp4 yet, so it fails to connect
devel: "PYTEST_ARGS=\"$PYTEST_ARGS -m 'not services'\""
inspircd-anope: inspircd-anope:
software: [inspircd, anope] software: [inspircd, anope]