Skip to content

πŸ“ Update README w KF short URLs #180

πŸ“ Update README w KF short URLs

πŸ“ Update README w KF short URLs #180

Workflow file for this run

name: βœ… Test
on:
pull_request:
types: [opened, reopened, edited, synchronize, closed]
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
GITHUB_PAT_SMILECDR: ${{ secrets.GH_PAT_SMILECDR }}
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}
jobs:
test-dev-setup:
runs-on: ubuntu-20.04
timeout-minutes: 10
permissions:
packages: read
steps:
- name: πŸ‘©β€πŸ’» Checkout code
uses: actions/checkout@v3
- name: 🐍 Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: πŸ“¦ Install deps
run: |
pip install --upgrade virtualenv
- name: βœ… Test quickstart
run: |
./src/bin/quickstart.sh --delete-volumes
test-local-integration:
runs-on: ubuntu-20.04
timeout-minutes: 10
permissions:
packages: read
steps:
- name: πŸ‘©β€πŸ’» Checkout code
uses: actions/checkout@v3
- name: 🐳 Start docker-compose
run: |
cp env.sample .env
source .env
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
docker-compose pull --ignore-pull-failures
docker-compose up -d
- name: πŸš‘ Healthcheck
run: |
source .env
./src/bin/health-check.sh
- name: 🐍 Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: πŸ“¦ Install deps
run: |
pip install --upgrade virtualenv
virtualenv -p python3 venv
source venv/bin/activate
pip install -r dev-requirements.txt
pip install -e .
- name: βœ… Local Integration Test
run: |
source venv/bin/activate
pytest tests
test-smilecdr-auth:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- name: πŸ‘©β€πŸ’» Checkout code
uses: actions/checkout@v3
- name: πŸ“¦ Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16.15.0'
- name: πŸ“¦ Install deps
run: |
npm install --prefix ./tests/javascript
- name: βœ… Test auth module
run: |
./bin/run_js_tests.sh