Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add flux-pmix, flux-pam builds to CI #5489

Merged
merged 6 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading