2
0

integration-tests.yml 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: Coriolis Integration Tests
  2. on:
  3. workflow_dispatch:
  4. pull_request:
  5. branches: [ "master" ]
  6. permissions:
  7. contents: read
  8. jobs:
  9. integration:
  10. runs-on: ubuntu-24.04
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v4
  14. - name: Set up Python 3.10
  15. uses: actions/setup-python@v4
  16. with:
  17. python-version: "3.10"
  18. architecture: "x64"
  19. - name: Install tox
  20. shell: bash
  21. run: |
  22. sudo apt install tox
  23. - name: Install scsi_debug kernel module
  24. shell: bash
  25. run: |
  26. sudo apt-get install -y linux-modules-extra-$(uname -r)
  27. - name: Build Docker image for integration test minions
  28. shell: bash
  29. run: |
  30. docker build -t coriolis-data-minion:test \
  31. coriolis/tests/integration/dockerfiles/data-minion/
  32. - name: Run integration tests
  33. shell: bash
  34. run: |
  35. sudo -E tox -e integration -v