forked from mtusi2026/mtusi2026lab5
готво 5
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Skeleton contracts
|
||||
name: Lab5 contracts and application
|
||||
on: [push, pull_request]
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -9,8 +9,24 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
python-version: '3.13'
|
||||
- run: python -m pip install -r requirements-dev.txt
|
||||
- run: make check validate PYTHON=python
|
||||
# This job validates the skeleton, not a student solution.
|
||||
# Add build, readiness and make test in a separate application job.
|
||||
- run: make check validate lint PYTHON=python
|
||||
application:
|
||||
needs: contracts
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 25
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- run: python -m pip install -r requirements.txt -r requirements-dev.txt
|
||||
- run: make verify-lab5 PYTHON=python
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: lab5-evidence
|
||||
path: |
|
||||
evidence/lab5-*.json
|
||||
evidence/lab5-*.txt
|
||||
|
||||
Reference in New Issue
Block a user