Skip to content

Commit

Permalink
remove incorrect header: newer versions of werkzeug complain about th…
Browse files Browse the repository at this point in the history
…is, was previously ignored

also bump actions versions and update docker-compose -> docker compose
  • Loading branch information
lkeegan committed Oct 30, 2024
1 parent 96e8284 commit 7c0723c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
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

0 comments on commit 7c0723c

Please sign in to comment.