unittest.yml 399 B

12345678910111213141516171819
  1. name: Unittest
  2. on: [push]
  3. jobs:
  4. build:
  5. name: Build unittest
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v4
  9. - name: Set up Python
  10. uses: actions/setup-python@v4
  11. with:
  12. python-version: "3.x"
  13. cache: 'pip'
  14. - name: Install requirements
  15. run: pip install -r requirements.txt
  16. - name: Run tests
  17. run: python -m etc.unittest.main