You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
617 B

  1. name: CI
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. strategy:
  6. matrix:
  7. version: [2.7, 3.8]
  8. name: Test
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Install host dependencies
  12. run: sudo apt update && sudo apt install -y libarchive-dev python${{ matrix.version }}-dev
  13. - name: Setup python
  14. uses: actions/setup-python@v4
  15. with:
  16. python-version: ${{ matrix.version }}
  17. - name: Check out code
  18. uses: actions/checkout@v3
  19. - name: Build the library
  20. env:
  21. PYVER: ${{ matrix.version }}
  22. run: make build
  23. - name: Run tests
  24. run: make test