Skip to content

Remove unused modules #2

Remove unused modules

Remove unused modules #2

Workflow file for this run

# GitHub workflow for testing the code base by running the test suite
name: test_suite
on:
pull_request:
branches:
- master
paths:
- '.github/workflows/test_suite.yml'
- 'Makefile'
- 'concept'
- 'src/**'
- 'test/**'
- 'util/**'
jobs:
# This job runs first
test_basic:
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ‹ Clean dangling Docker containers
uses: ./.github/actions/docker-clean
- name: πŸ“ Set Docker username
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
run: |
[ -n "${docker_username}" ] || docker_username=jmddk
echo "docker_username=${docker_username}" >> "${GITHUB_ENV}"
- name: πŸ‹ Pull Docker image
run: docker pull ${docker_username}/concept:latest
- name: πŸ€– Run test
run: |
sleep 1
docker run \
-e GITHUB_JOB \
-e make_jobs="-j 1" \
-v "${GITHUB_WORKSPACE}":/github \
--name "${GITHUB_REPOSITORY//\//_}__${GITHUB_WORKFLOW}__${GITHUB_JOB}__$(date +%s)" \
--rm \
${docker_username}/concept:latest \
bash -O extglob -c ': \
&& source ~/.bashrc \
&& rm -rf "${concept_dir}/"!(dep) \
&& cp -r /github/!(dep) "${concept_dir}/" \
&& concept -t ${GITHUB_JOB/test_} \
&& sudo su -c "rm -rf /github/build" \
&& sudo su -c "mkdir /github/build" \
&& sudo su -c "cp \"${build_dir}/\"*.so /github/build/" \
&& sudo su -c "chmod -R a+rwX /github/build" \
'
- name: πŸ“€ Upload build
uses: actions/upload-artifact@v4
with:
name: build
path: build
# All jobs below uses the compiled code from the test_basic job
test_friedmann:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_realize:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_powerspec:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_bispec:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_gadget:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_drift_nohubble:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_drift:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_kick_pp_without_ewald:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_kick_pp_with_ewald:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_lpt:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_nprocs_pp:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_pure_python_pp:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_concept_vs_gadget_pp:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_nprocs_pm:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_pure_python_pm:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_concept_vs_class_pm:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_nprocs_p3m:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_pure_python_p3m:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_concept_vs_gadget_p3m:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_multicomponent:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, heavy]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_ids:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_multigrid:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, heavy]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_drift_rigid_nohubble:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_drift_rigid:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_gravity_nohubble:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_gravity:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_vacuum:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_vs_particles:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_fluid_pressure:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_neutrino:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, heavy]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_optimizations:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_classutil:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test
test_render:
needs: test_basic
runs-on:
group: private
labels: [self-hosted-ubuntu-22.04, light]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v4
- name: πŸ€– Run test
env:
docker_username: ${{ secrets.DOCKER_USERNAME }}
uses: ./.github/actions/test