[INIT] Initial Project Structure
This commit is contained in:
commit
0fc5f05b6a
105 changed files with 10448 additions and 0 deletions
43
.forgejo/workflows/qa-api-tests.yml
Normal file
43
.forgejo/workflows/qa-api-tests.yml
Normal file
|
@ -0,0 +1,43 @@
|
|||
name: QA API Tests
|
||||
run-name: ${{ forgejo.actor }} QA API Test
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
REPO_DIR: ${{ forgejo.workspace }}/cairo
|
||||
GARDEN_LINK_ACTION: build.cairo-image
|
||||
|
||||
jobs:
|
||||
qa-api-tests:
|
||||
steps:
|
||||
# Setup Oasis
|
||||
- name: Oasis Setup
|
||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@oasis-setup-auto
|
||||
with:
|
||||
deploy-env: ci
|
||||
infisical-token: ${{ secrets.INFISICAL_ELYSIUM_CI_READ_TOKEN }}
|
||||
extra-secret-paths: /dashboard,/alexandria
|
||||
extra-secret-envs: ci,ci
|
||||
# Test Code
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ${{ env.REPO_DIR }}
|
||||
# Garden tests
|
||||
- name: Link Repo code to Garden
|
||||
run: garden link action $GARDEN_LINK_ACTION $REPO_DIR --env usw-ci
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||
# Cubit CI Tests
|
||||
- name: Run Cubit tests in CI env
|
||||
run: garden workflow qa-api-tests --env usw-ci --var ci-ttl=25m
|
||||
working-directory: ${{ env.OASIS_WORKSPACE }}
|
||||
# Discord Alert
|
||||
- name: Discord Alert
|
||||
if: always()
|
||||
uses: https://forgejo.dunemask.dev/elysium/elysium-actions@discord-status
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
channel: ci
|
||||
header: QA API Tests
|
||||
additional-content: "CI Namespace: `${{env.CI_NAMESPACE}}`"
|
Loading…
Add table
Add a link
Reference in a new issue