Add tests for geoip anomaly collection in anoncred #988
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test ooniapi/oonirun | |
| on: push | |
| jobs: | |
| run_tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11 | |
| - name: Install hatch | |
| run: pip install "hatch>=1.13" "virtualenv<21" | |
| - name: Run all tests | |
| run: make test-cov | |
| working-directory: ./ooniapi/services/oonirun/ | |
| - name: Upload coverage to codecov | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| flags: oonirun | |
| working-directory: ./ooniapi/services/oonirun/ |