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

remove incorrect header: newer versions of werkzeug complain about this, was previously ignored #109

Merged
merged 1 commit into from
Oct 30, 2024
Merged
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
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
node-version: [20, 22]
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand All @@ -34,7 +34,7 @@ jobs:
- run: npm run test:unit:ci
# todo: these e2e tests are not generating coverage reports on CI:
- run: DEBUG=cypress:* npm run test:e2e:ci
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./frontend/coverage/coverage-final.json
Expand All @@ -46,13 +46,13 @@ jobs:
name: "Backend :: Python ${{ matrix.python-version }}"
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e .[tests]
Expand All @@ -61,7 +61,7 @@ jobs:
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -sha256 -days 365 -nodes -subj '/CN=localhost'
sample_flow_server --help
timeout 5 sample_flow_server || [ "$?" -eq 124 ]
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./backend/coverage.xml
Expand All @@ -72,9 +72,9 @@ jobs:
runs-on: ubuntu-latest
name: "Docker"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: echo "VITE_REST_API_LOCATION=https://circuitseq.iwr.uni-heidelberg.de/api" > frontend/.env
- run: docker-compose build
- run: docker compose build
- uses: docker/login-action@v2
with:
registry: ghcr.io
Expand All @@ -83,15 +83,15 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
- run: |
echo $SAMPLE_FLOW_DOCKER_IMAGE_TAG
docker-compose build
docker-compose push
docker compose build
docker compose push
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
SAMPLE_FLOW_DOCKER_IMAGE_TAG: ${{ github.sha }}
- run: |
echo $SAMPLE_FLOW_DOCKER_IMAGE_TAG
docker-compose build
docker-compose push
docker compose build
docker compose push
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
SAMPLE_FLOW_DOCKER_IMAGE_TAG: "latest"
3 changes: 0 additions & 3 deletions frontend/src/utils/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ function download_file_from_endpoint(
) {
apiClient
.post(endpoint, json, {
headers: {
"Content-Type": "multipart/form-data",
},
responseType: "blob",
})
.then((response) => {
Expand Down
Loading