Skip to content

Commit

Permalink
Merge pull request #5489 from grondo/ci-flux-pmix
Browse files Browse the repository at this point in the history
ci: add flux-pmix, flux-pam builds to CI
  • Loading branch information
mergify[bot] authored Oct 9, 2023
2 parents 10abbf4 + d3c1a6d commit 7cb4155
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Install ubuntu dependencies
run: sudo scripts/install-deps-deb.sh
run: |
sudo apt update
sudo scripts/install-deps-deb.sh
- name: Install python dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down
44 changes: 43 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,49 @@ jobs:
--tag=fluxrm/flux-core:el8
- run: >
cd .. && git clone https://github.com/flux-framework/flux-accounting &&
cd flux-accounting && src/test/docker/docker-run-checks.sh -j 4
cd flux-accounting && src/test/docker/docker-run-checks.sh -j 4
check-pmix:
needs: [python-lint]
name: flux-pmix check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- run: >
src/test/docker/docker-run-checks.sh
--image=el8
--install-only
--tag=fluxrm/flux-core:el8
- run: >
cd .. &&
git clone https://github.com/flux-framework/flux-pmix &&
cd flux-pmix &&
src/test/docker/docker-run-checks.sh -j 4 -i el8
--build-arg OMPI_BRANCH=v5.0.0rc12
--build-arg OPENPMIX_BRANCH=v4.2.3
check-pam:
needs: [python-lint]
name: flux-pam check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- run: >
src/test/docker/docker-run-checks.sh
--image=el8
--install-only
--tag=fluxrm/flux-core:el8
- run: >
cd .. &&
git clone https://github.com/flux-framework/flux-pam &&
cd flux-pam &&
src/test/docker/docker-run-checks.sh -j 4 -i el8
generate-matrix:
# https://stackoverflow.com/questions/59977364
Expand Down
4 changes: 4 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ comment:
layout: "header, diff, changes, tree"
behavior: new
after_n_builds: 2

codecov:
notify:
after_n_builds: 2
3 changes: 2 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sphinx==3.4.3
sphinx<6.0.0
sphinx-rtd-theme>=0.5.2
docutils>=0.14,<0.18
urllib3<2
jinja2<3.1.0
2 changes: 1 addition & 1 deletion src/test/docker/docker-run-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ JOBS=2
MOUNT_HOME_ARGS="--volume=$HOME:/home/$USER -e HOME"

if test "$PROJECT" = "flux-core"; then
FLUX_SECURITY_VERSION=0.9.0
FLUX_SECURITY_VERSION=0.10.0
POISON=t
fi

Expand Down

0 comments on commit 7cb4155

Please sign in to comment.