mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 23:39:46 +00:00
Exclude Ergo/Limnoria/Sopel from devel_release cron, they don't have such a version flavor
This commit is contained in:
75
.github/workflows/test-devel_release.yml
vendored
75
.github/workflows/test-devel_release.yml
vendored
@ -64,12 +64,9 @@ jobs:
|
|||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
name: Publish Unit Tests Results
|
name: Publish Unit Tests Results
|
||||||
needs:
|
needs:
|
||||||
- test-ergo
|
|
||||||
- test-inspircd
|
- test-inspircd
|
||||||
- test-inspircd-anope
|
- test-inspircd-anope
|
||||||
- test-inspircd-atheme
|
- test-inspircd-atheme
|
||||||
- test-limnoria
|
|
||||||
- test-sopel
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
@ -80,30 +77,6 @@ jobs:
|
|||||||
uses: EnricoMi/publish-unit-test-result-action@v1
|
uses: EnricoMi/publish-unit-test-result-action@v1
|
||||||
with:
|
with:
|
||||||
files: artifacts/**/*.xml
|
files: artifacts/**/*.xml
|
||||||
test-ergo:
|
|
||||||
needs: []
|
|
||||||
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: 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=~/go/bin:$PATH
|
|
||||||
make ergo
|
|
||||||
- if: always()
|
|
||||||
name: Publish results
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: pytest results ergo (devel_release)
|
|
||||||
path: pytest.xml
|
|
||||||
test-inspircd:
|
test-inspircd:
|
||||||
needs:
|
needs:
|
||||||
- build-inspircd
|
- build-inspircd
|
||||||
@ -206,54 +179,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pytest results inspircd-atheme (devel_release)
|
name: pytest results inspircd-atheme (devel_release)
|
||||||
path: pytest.xml
|
path: pytest.xml
|
||||||
test-limnoria:
|
|
||||||
needs: []
|
|
||||||
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: 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 make
|
|
||||||
limnoria
|
|
||||||
- if: always()
|
|
||||||
name: Publish results
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: pytest results limnoria (devel_release)
|
|
||||||
path: pytest.xml
|
|
||||||
test-sopel:
|
|
||||||
needs: []
|
|
||||||
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: 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 make
|
|
||||||
sopel
|
|
||||||
- if: always()
|
|
||||||
name: Publish results
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: pytest results sopel (devel_release)
|
|
||||||
path: pytest.xml
|
|
||||||
name: irctest with devel_release versions
|
name: irctest with devel_release versions
|
||||||
'on':
|
'on':
|
||||||
schedule:
|
schedule:
|
||||||
|
@ -164,14 +164,15 @@ def get_test_job(*, config, test_config, test_id, version_flavor, jobs):
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
install_steps.extend(
|
new_install_steps = get_install_steps(
|
||||||
get_install_steps(
|
software_config=software_config,
|
||||||
software_config=software_config,
|
software_id=software_id,
|
||||||
software_id=software_id,
|
version_flavor=version_flavor,
|
||||||
version_flavor=version_flavor,
|
|
||||||
)
|
|
||||||
or []
|
|
||||||
)
|
)
|
||||||
|
if new_install_steps is None:
|
||||||
|
# This flavor does not need to be built
|
||||||
|
return None
|
||||||
|
install_steps.extend(new_install_steps)
|
||||||
|
|
||||||
if not set(needs) <= jobs:
|
if not set(needs) <= jobs:
|
||||||
# One of the dependencies does not exist for this flavor
|
# One of the dependencies does not exist for this flavor
|
||||||
|
Reference in New Issue
Block a user