requirements: Update all requirements #365
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 | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ '3.11'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| architecture: x64 | |
| - name: Install requirements_dev.txt | |
| run: pip install -r requirements_dev.txt | |
| - name: Install Ubuntu Translation Libraries | |
| run: sudo apt install gettext | |
| - name: Test IATI | |
| env: | |
| BROWSER: FirefoxHeadless | |
| run: py.test -n 2 cove_iati --cov-append --cov | |
| - name: Migrate Database | |
| run: python manage.py migrate | |
| - name: Compile Messages | |
| run: python manage.py compilemessages | |
| - name: Report to coveralls | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: coveralls --service=github |