Skip to content

Commit

Permalink
CI: test web in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
soofstad committed Dec 5, 2023
1 parent 178dcfa commit f9da377
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ jobs:
- name: "API UnitTests"
run: docker run --rm -e TABEL_KEY="${{ secrets.TABEL_KEY }}" api-development pytest src/tests

test-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: "Build web"
run: docker build --tag web-development ./web

pre-commit:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ services:
web:
build:
context: ./web
# target: prod
target: development
target: prod
# target: development
restart: unless-stopped
stdin_open: true
volumes:
Expand Down
1 change: 1 addition & 0 deletions web/src/Components/Bridging/BridgeContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { AuthContext } from 'react-oauth2-code-pkce'
import BridgeGraph from "./BridgeGraph"
import {Tooltip} from "../Common/Tooltip";
import {findDValue, findGraphData} from "../../Utils";
import { ErrorToast } from '../Common/Toast'

const InputWrapper = styled.div`
display: flex;
Expand Down
1 change: 1 addition & 0 deletions web/src/Components/Combinations/CombinationTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export const CombinationTable = ({
type='number'
onChange={(event: any) => handleValueChange(id, event.target.value)}
style={{
// @ts-ignore
'--eds-input-background': 'rgba(133,186,191,0.15)',
}}
/>
Expand Down

0 comments on commit f9da377

Please sign in to comment.