- Created StellaOps.Notify.Storage.Mongo project with initial configuration. - Added expected output files for acceptance tests (at1.txt to at10.txt). - Added fixture input files for acceptance tests (at1 to at10). - Created input and signature files for test cases fc1 to fc5.
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: Symbols Server CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'ops/devops/symbols/**'
|
|
- 'scripts/symbols/**'
|
|
- '.gitea/workflows/symbols-ci.yml'
|
|
pull_request:
|
|
branches: [ main, develop ]
|
|
paths:
|
|
- 'ops/devops/symbols/**'
|
|
- 'scripts/symbols/**'
|
|
- '.gitea/workflows/symbols-ci.yml'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
symbols-smoke:
|
|
runs-on: ubuntu-22.04
|
|
env:
|
|
ARTIFACT_DIR: ${{ github.workspace }}/artifacts/symbols-ci
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Task Pack offline bundle fixtures
|
|
run: python3 scripts/packs/run-fixtures-check.sh
|
|
|
|
- name: Export OpenSSL 1.1 shim for Mongo2Go
|
|
run: scripts/enable-openssl11-shim.sh
|
|
|
|
- name: Run Symbols.Server smoke
|
|
run: |
|
|
set -euo pipefail
|
|
mkdir -p "$ARTIFACT_DIR"
|
|
PROJECT_NAME=symbolsci ARTIFACT_DIR="$ARTIFACT_DIR" scripts/symbols/smoke.sh
|
|
|
|
- name: Upload artifacts
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: symbols-ci
|
|
path: ${{ env.ARTIFACT_DIR }}
|
|
retention-days: 7
|