Commit a37bdcd756
Verified · cmc
Layout: unified · split
.github/workflows/test.yml deleted −32
| @@ -1,32 +0,0 @@ | ||
| 1 | name: Test | |
| 2 | ||
| 3 | # crumb had a test suite from one commit that had never passed: four tests, all | |
| 4 | # failing. They are fixed and this runs them, so the next break is visible. | |
| 5 | on: | |
| 6 | pull_request: | |
| 7 | push: | |
| 8 | branches: [main] | |
| 9 | ||
| 10 | permissions: | |
| 11 | contents: read | |
| 12 | ||
| 13 | jobs: | |
| 14 | test: | |
| 15 | runs-on: ubuntu-latest | |
| 16 | steps: | |
| 17 | - uses: actions/checkout@v7 | |
| 18 | ||
| 19 | - uses: actions/setup-python@v7 | |
| 20 | with: | |
| 21 | python-version: '3.11' | |
| 22 | ||
| 23 | - name: Install | |
| 24 | run: pip install -r requirements-dev.txt | |
| 25 | ||
| 26 | - name: Tests | |
| 27 | run: python -m pytest -q | |
| 28 | ||
| 29 | # The webextension half of crumb is not covered by the Python tests, and a | |
| 30 | # malformed manifest is silent until a browser refuses to load it. | |
| 31 | - name: Extension manifest is valid JSON | |
| 32 | run: python -c "import json; json.load(open('crumb_extension/manifest.json')); print('manifest.json parses')" | |