Skip to content

Bump terser from 5.9.0 to 5.24.0 #369

Bump terser from 5.9.0 to 5.24.0

Bump terser from 5.9.0 to 5.24.0 #369

Workflow file for this run

name: Run tests and upload coverage
on: ["push", "pull_request"]
jobs:
test-python:
name: Coverage
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
mongodb-version: ["3.6"]
steps:
# Check out Scout code
- uses: actions/checkout@v2
# Set up python
- name: Set up Python ${{ matrix.python-version}}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version}}
- name: Production Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
pip install pytest-cov
pip install coveralls
- name: Test with pytest & Coveralls
run: |
pip install -r requirements-dev.txt
pytest --cov=./
coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
test-js:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test