Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump moment from 2.25.3 to 2.29.4 #241

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Test

on:
workflow_call:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10"]
node-version: [12.x, 14.x, 16.x]
env:
DATABASE_URL: "sqlite:///:memory"
DJANGO_SETTINGS_MODULE: measuremate.settings.dev
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install production dependencies
run: |
yarn global add gulp-cli
yarn install --production
- name: Gulp production build
run: |
gulp build --production
- name: Install development dependencies
run: |
yarn install
- name: Gulp development build
run: |
gulp build
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
pip install -U pip wheel setuptools
pip install -U -r requirements/local.txt
pip install coveralls
- name: Setup
run: |
python manage.py migrate --no-input
python manage.py collectstatic --no-input
- name: Run tests
run: |
gem install coveralls-lcov
coverage run manage.py test
coverage xml
coverage lcov
coveralls-lcov -v -n ./coverage/lcov.info > coverage.json
- name: Upload coverage to coveralls.io
uses: coverallsapp/github-action@master
with:
github-token: ${{ github.token }}
path-to-lcov: coverage.json
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
#token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
verbose: true
# - name: Upload coverage to CodeClimate
# uses: paambaati/[email protected]
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"jquery": "^3.4.0",
"lodash": "^4.17.11",
"minimist": "^1.2.0",
"moment": "^2.24.0",
"moment": "^2.29.4",
"plotly.js": "^1.48.3",
"prop-types": "^15.7.2",
"react": "^15.6.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8651,10 +8651,10 @@ module-deps@^6.0.0:
through2 "^2.0.0"
xtend "^4.0.0"

moment@^2.24.0:
version "2.25.3"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.25.3.tgz#252ff41319cf41e47761a1a88cab30edfe9808c0"
integrity sha512-PuYv0PHxZvzc15Sp8ybUCoQ+xpyPWvjOuK72a5ovzp2LI32rJXOiIfyoFoYvG3s6EwwrdkMyWuRiEHSZRLJNdg==
moment@^2.29.4:
version "2.29.4"
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108"
integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==

monotone-convex-hull-2d@^1.0.1:
version "1.0.1"
Expand Down