[Snyk] Security upgrade werkzeug from 2.2.3 to 3.0.6 #386
This file contains 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: Build and Test on Push or PR | |
on: | |
pull_request: | |
branches: [main, dev] | |
jobs: | |
test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Python 3.10.14 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.10.14 | |
- name: Install pypa/build | |
run: >- | |
python -m | |
pip install | |
build | |
--user | |
- name: Install pytest | |
run: | | |
python -m pip install pytest | |
python -m pip install -r requirements.txt | |
- name: Build a binary wheel and a source tarball | |
run: >- | |
python -m | |
build | |
--sdist | |
--wheel | |
--outdir dist/ | |
- name: Install Build for Testing | |
run: | | |
python -m pip install dist/dash-tools-*.tar.gz | |
- name: Test with Pytest | |
run: | | |
python -m pytest |