Repository navigation
Read the client address from the entry our proxy appends #1512
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/oonimeasurements | |
| 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/oonimeasurements/ | |
| - name: Upload coverage to codecov | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| flags: oonimeasurements | |
| working-directory: ./ooniapi/services/oonimeasurements/ |