-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Moritz Heckmann <[email protected]> Co-authored-by: dvmoritzschoefl <[email protected]> Co-authored-by: Michael Puehringer <[email protected]> Co-authored-by: dvtschachinger <[email protected]> Co-authored-by: Holger Stitz <[email protected]> Co-authored-by: Michael Pühringer <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dvzacharycutler <[email protected]> Co-authored-by: oltionchampari <[email protected]> Co-authored-by: Christian Bors <[email protected]> Co-authored-by: dvflorianengertsberger <[email protected]> Co-authored-by: Zach Cutler <[email protected]> Co-authored-by: anita-steiner <> Co-authored-by: Anita Steiner <[email protected]> Co-authored-by: dvdanielamoitzi <[email protected]> Co-authored-by: Christian Bors <[email protected]> Co-authored-by: Markus Vogl <[email protected]> Co-authored-by: Champari Oltion <[email protected]>
- Loading branch information
1 parent
e0ede21
commit 20de9d1
Showing
415 changed files
with
4,749 additions
and
4,212 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,19 @@ | ||
name: build | ||
|
||
on: [push, workflow_dispatch] | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
cypress: | ||
description: 'Run cypress' | ||
required: false | ||
type: boolean | ||
default: false | ||
push: | ||
|
||
jobs: | ||
build: | ||
uses: datavisyn/github-workflows/.github/workflows/build-node-python.yml@main | ||
secrets: inherit | ||
uses: datavisyn/github-workflows/.github/workflows/build-node-python.yml@new_deployment | ||
secrets: inherit | ||
with: | ||
cypress_enable: true | ||
cypress_run_because_flag: ${{ inputs.cypress == true }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
stories: [ | ||
"../src/**/*.stories.mdx", | ||
"../src/**/*.stories.@(js|jsx|ts|tsx)" | ||
], | ||
addons: [ | ||
"@storybook/addon-links", | ||
"@storybook/addon-essentials", | ||
"@storybook/addon-interactions", | ||
"@storybook/preset-scss" | ||
], | ||
framework: "@storybook/react", | ||
core: { | ||
builder: 'webpack5', | ||
}, | ||
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'], | ||
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions', '@storybook/preset-scss', 'storybook-addon-swc'], | ||
framework: '@storybook/react', | ||
webpackFinal: async (config) => { | ||
// Add tdp_core/dist as alias, as we have scss/code imports like tdp_core/dist/assets/... | ||
// These can only be resolved in a workspace currently, and not in the standalone repo. | ||
config.resolve.alias = { | ||
...(config.resolve.alias || {}), | ||
'tdp_core/dist': path.resolve(__dirname, '../', 'dist') | ||
// I have no clue why this is required, but if this is missing we get a "Can't resolve '../../assets/icons/datavisyn_logo.svg' in '.../src/scss'"" | ||
'../../assets': path.resolve(__dirname, '../src/assets'), | ||
// Add tdp_core/dist as alias, as we have scss/code imports like tdp_core/dist/assets/... | ||
'tdp_core/dist': path.resolve(__dirname, '../src'), | ||
'tdp_core/src': path.resolve(__dirname, '../src'), | ||
'tdp_core': path.resolve(__dirname, '../src'), | ||
}; | ||
return config; | ||
}, | ||
} | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: Module", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "tdp_core", | ||
"justMyCode": false | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"tdp_core" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { defineConfig } from 'cypress'; | ||
import * as webpackConfig from 'visyn_scripts/config/webpack.config'; | ||
|
||
export default defineConfig({ | ||
viewportHeight: 1080, | ||
viewportWidth: 1920, | ||
defaultCommandTimeout: 10000, | ||
e2e: { | ||
baseUrl: 'http://localhost:8080', | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
setupNodeEvents(on, config) {}, | ||
}, | ||
component: { | ||
devServer: { | ||
framework: 'react', | ||
bundler: 'webpack', | ||
webpackConfig: webpackConfig({ workspace_mode: 'single' }, { mode: 'production' }), | ||
}, | ||
}, | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/videos | ||
/screenshots |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as React from 'react'; | ||
import { mount } from 'cypress/react'; | ||
import { MainApp } from '../../src/demo/MainApp'; | ||
|
||
describe('Health check for Cypress component test', () => { | ||
it('should mount MainApp', () => { | ||
mount(<MainApp />); | ||
cy.get('body').should('include.text', 'Visualization type'); | ||
}); | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
describe('Health check for Cypress e2e test', () => { | ||
it('should visit the home page', () => { | ||
cy.visit('/'); | ||
cy.get('body').should('include.text', 'Visualization type'); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.