Skip to content

Commit

Permalink
pollution: remove setup utils from requirements.txt and install in ci…
Browse files Browse the repository at this point in the history
…/cd direclty on runnner
  • Loading branch information
dulvui committed Jan 19, 2024
1 parent f0e7d2b commit b6f627d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci-pollution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ env:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout source code
uses: noi-techpark/github-actions/checkout@v2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v1

- name: install setuptools needed to use distutils with python > 3.12
run: python3 -m pip install setuptools

- name: Test code
uses: noi-techpark/github-actions/pip-test@v2
with:
Expand All @@ -30,7 +34,7 @@ jobs:
# Deploy Test
deploy-test-pollution:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/main'
needs: test
concurrency: deploy-test-pollution
Expand Down Expand Up @@ -102,7 +106,7 @@ jobs:

# Deploy Prod
deploy-prod-pollution:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/prod'
needs: test
concurrency: deploy-prod-pollution
Expand Down
1 change: 0 additions & 1 deletion pollution/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
setuptools==69.0.3
celery==5.2.7
redis==4.3.4
sentry-sdk==1.9.9
Expand Down

0 comments on commit b6f627d

Please sign in to comment.