Fix broken geoip download tests (#1225) #1324
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/ooniauth | |
| 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/ooniauth/ | |
| - name: Upload coverage to codecov | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| flags: ooniauth | |
| working-directory: ./ooniapi/services/ooniauth/ |