integration-tests.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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: Update apt package lists
  20. shell: bash
  21. run: sudo apt-get update -y
  22. - name: Install tox
  23. shell: bash
  24. run: |
  25. sudo apt install tox
  26. - name: Build write_data resource binary
  27. shell: bash
  28. run: |
  29. sudo apt-get install -y build-essential zlib1g-dev
  30. make -C coriolis/resources
  31. - name: Build Docker image for integration test minions
  32. shell: bash
  33. run: |
  34. docker build -t coriolis-data-minion:test \
  35. coriolis/tests/integration/dockerfiles/data-minion/
  36. - name: Run integration tests
  37. shell: bash
  38. run: |
  39. sudo -E tox -e integration -v