forked from mtusi2026/mtusi2026lab7
Implement lab7 security and compromised worker recovery evidence
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Application
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
application:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 35
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '21'
|
||||
- run: python -m venv .venv
|
||||
- run: .venv/bin/python -m pip install -r requirements-tools.txt
|
||||
- run: chmod +x gradlew && ./gradlew test --no-daemon
|
||||
- run: .venv/bin/python scripts/style.py
|
||||
- run: sh scripts/start.sh
|
||||
- run: make check validate test test-security PYTHON=.venv/bin/python BASE_URL=https://127.0.0.1:8443 CA_FILE=secrets/public/ca.crt
|
||||
- if: always()
|
||||
run: docker compose down
|
||||
Reference in New Issue
Block a user