chore: bump flake8 from 6.1.0 to 7.0.0 in /git_services #4552
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
env: | |
DOCKER_CACHE_PREFIX: "v1" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: poetry | |
- name: Install dependencies | |
run: | | |
poetry install | |
- name: Test with pytest | |
run: | | |
poetry run flake8 -v | |
poetry run pytest tests/unit renku_notebooks | |
test-git-proxy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '>=1.18.0' | |
- name: Test git proxy | |
run: | | |
cd git-https-proxy | |
go test -v | |
test-git-services: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: poetry | |
- name: Install dependencies | |
run: | | |
cd git_services | |
poetry install | |
- name: Test git services | |
run: | | |
cd git_services | |
poetry run flake8 -v | |
poetry run pytest -v tests | |
publish-images: | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
- test-git-proxy | |
- test-git-services | |
if: "startsWith(github.ref, 'refs/tags/')" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: set up environment variables | |
run: | | |
echo "GIT_USER=Renku Bot" >> $GITHUB_ENV | |
echo "[email protected]" >> $GITHUB_ENV | |
- name: Push images | |
uses: SwissDataScienceCenter/renku-actions/[email protected] | |
env: | |
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }} | |
- name: Update component version | |
uses: SwissDataScienceCenter/renku-actions/[email protected] | |
env: | |
COMPONENT_NAME: renku-notebooks | |
GITHUB_TOKEN: ${{ secrets.RENKUBOT_GITHUB_TOKEN }} |