Skip to content

Merge pull request #389 from NERSC/dependabot/npm_and_yarn/frontend/i… #10

Merge pull request #389 from NERSC/dependabot/npm_and_yarn/frontend/i…

Merge pull request #389 from NERSC/dependabot/npm_and_yarn/frontend/i… #10

Workflow file for this run

name: Integration Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
integration:
runs-on: ubuntu-latest
env:
DOCKER_BUILDKIT: 1
XDG_RUNTIME_DIR: /tmp/podman-run
timeout-minutes: 60
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install podman
run: |
sudo apt-get update
sudo apt-get install -y podman
- name: Start podman socket service
run: |
# Ensure the runtime directory exists and is writable
mkdir -p "$XDG_RUNTIME_DIR/podman"
# Start the rootless podman service socket in the configured runtime dir
podman system service --time=0 unix://$XDG_RUNTIME_DIR/podman/podman.sock >/tmp/podman-service.log 2>&1 &
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up uv
uses: astral-sh/setup-uv@v4
with:
python-version: '3.11'
- name: Run integration test suite
run: make integration-test
- name: Show docker compose logs on failure
if: failure()
run: docker compose logs --no-color