Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
date range (#1002)
Browse files Browse the repository at this point in the history
* date range
adding label to date
Github actions uses node 20 LTS
gui version 3.1.0

* forgot half the tests

* fix tes in UTC

* test

* tz

* update coverage version

* update coverage
orgoro 3.1 seems to not work

* use node 20 LTS

* 3.1 brings node 16 instead of 12

* modify comment to force re-run

* forced to add 18.x to clean PR queue

* trying with one version of node

* need node 18

---------

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
  • Loading branch information
FredLL-Avaiga and Fred Lefévère-Laoide authored Nov 6, 2023
1 parent 74a581f commit 4d4fc6c
Show file tree
Hide file tree
Showing 24 changed files with 1,301 additions and 470 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prefix-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 40
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
python-versions: ['3.8', '3.9', '3.10', '3.11']
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
Expand All @@ -23,7 +23,7 @@ jobs:
with:
python-version: ${{ matrix.python-versions }}
- name: testing with ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.8
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Ensure package version has 'dev' suffix
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install npm
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- uses: actions/setup-python@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/setuptools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
with:
python-version: ${{ matrix.python-versions }}
- name: Install npm
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: Install Taipy without dependencies
run: |
Expand Down Expand Up @@ -67,9 +67,9 @@ jobs:
with:
python-version: ${{ matrix.python-versions }}
- name: Install npm
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'

- name: install libmagic on macos
if: matrix.os == 'macos-latest'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 40
strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]
python-versions: ['3.8', '3.9', '3.10', '3.11']
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
Expand All @@ -23,8 +23,8 @@ jobs:
with:
python-version: ${{ matrix.python-versions }}

- name: npm build and test ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3
- name: npm build and test with node ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dom dependencies
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Code coverage
if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' && matrix.python-versions == '3.9'
uses: orgoro/coverage@v3
uses: orgoro/coverage@v3.1
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -60,7 +60,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
node-version: [18.x]
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}

Expand All @@ -70,8 +70,8 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: npm build and test ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3
- name: npm build and test with node ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -85,7 +85,7 @@ jobs:

- name: Code coverage
if: matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request'
uses: artiomtr/jest-coverage-report-action@v2.0-rc.6
uses: artiomtr/jest-coverage-report-action@v2.2.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
threshold: "80"
Expand Down
2 changes: 1 addition & 1 deletion gui/dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taipy-gui-dom",
"version": "3.0.0",
"version": "3.1.0",
"private": true,
"dependencies": {
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 4d4fc6c

Please sign in to comment.