Skip to content

Fix error Invaild password mpsk #360

Fix error Invaild password mpsk

Fix error Invaild password mpsk #360

Workflow file for this run

name: SIPA CI
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version-file: "pyproject.toml"
- uses: pre-commit/action@v3.0.0
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Fix permissions
run: sudo chmod -R a+rw .
- name: Build the Docker image
run: docker build -t sipa:latest .
- name: Login to GitLab Registry
uses: docker/login-action@v1
with:
registry: registry.agdsn.de
username: "github-actions"
password: ${{ secrets.GITLAB_REGISTRY_PASSWORD }}
- name: Tag built image
run: docker tag sipa:latest registry.agdsn.de/agdsn/coreos/sipa/sipa:${GITHUB_REF##*/}
- name: Push to GitLab registry
run: docker push registry.agdsn.de/agdsn/coreos/sipa/sipa:${GITHUB_REF##*/}
test:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Check out sipa and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version-file: "pyproject.toml"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.8.15"
enable-cache: true
- name: install uv dependencies
run: uv sync
id: pip-install
# now come the tests
- name: Run tests
run: >
uv run pytest
--junitxml=junit/test-results.xml
--cov --cov-report=xml:cov/cov-results.xml
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: 'junit/test-*.xml'
annotate_only: true
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
disable_search: true
files: ./cov/cov-results.xml
use_oidc: true
verbose: true