Skip to content

Commit 14d341a

Browse files
committed
fix: ci tests
1 parent f49c08d commit 14d341a

File tree

1 file changed

+3
-34
lines changed

1 file changed

+3
-34
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ permissions:
1212

1313
jobs:
1414
test:
15+
permissions:
16+
contents: 'read'
17+
id-token: 'write'
1518
runs-on: ubuntu-latest
1619
steps:
1720
- name: Checkout code
@@ -39,40 +42,6 @@ jobs:
3942
- name: Lint & Format (Ruff)
4043
run: rye run ruff check .
4144

42-
# - name: Log in to GHCR
43-
# run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
44-
45-
# - name: Build container
46-
# run: |
47-
# IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
48-
# docker build -t $IMAGE_NAME:latest .
49-
50-
# - name: Start server container
51-
# run: |
52-
# IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
53-
# docker run -d --name airport_test_server -p 50003:50003 $IMAGE_NAME:latest
54-
55-
# - name: Stop server
56-
# run: |
57-
# docker stop airport_test_server
58-
59-
# - name: Push Docker image to GHCR
60-
# run: |
61-
# IMAGE_NAME=ghcr.io/query-farm/python-airport-test-server
62-
# docker push $IMAGE_NAME:latest
63-
64-
# Build Linux images on ubuntu runner
65-
build-linux:
66-
needs: test
67-
runs-on: ubuntu-latest
68-
69-
permissions:
70-
contents: 'read'
71-
id-token: 'write'
72-
steps:
73-
- name: Checkout code
74-
uses: actions/checkout@v4
75-
7645
- name: Authenticate to Google Cloud
7746
uses: google-github-actions/auth@v2
7847
with:

0 commit comments

Comments
 (0)