chore(deps): update dependency webpack to v5.94.0 [security] #1094
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: Python CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| if pip freeze | grep -v '^\-e' | grep -v '^\-f' | grep -v '^-e' | grep -v '^-f' | cut -d = -f 1 | xargs pip uninstall -y; then true; fi | |
| pip install -r requirements.txt | |
| - name: Lint code | |
| run: | | |
| flake8 . | |
| - name: Run tests | |
| run: | | |
| coverage run --source=./ -m pytest | |
| coverage report | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4 |