Skip to content

Add fullname, email to the fields when generating users.csv #1248

Add fullname, email to the fields when generating users.csv

Add fullname, email to the fields when generating users.csv #1248

Workflow file for this run

name: Build CHT Conf and test against node versions
on: [push, pull_request]
jobs:
build:
name: Build for Node version ${{ matrix.node-version }}
runs-on: ubuntu-22.04
env:
FORCE_COLOR: 1
strategy:
matrix:
node-version: [ 18.x, 20.x ]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install pyxform
run: pip install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medic
- name: npm ci and test
run: npm ci && npm test
- name: Archive Results
uses: actions/upload-artifact@v2
with:
name: Coverage Report ${{ matrix.node-version }}
path: |
coverage
.nyc_output
if: ${{ failure() }}
e2e:
name: E2E tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
run: |
pip install git+https://github.com/medic/pyxform.git@medic-conf-1.17#egg=pyxform-medic
npm ci
- name: Hard code local-ip IP in /etc/hosts per https://github.com/medic/medic-infrastructure/issues/571#issuecomment-2209120441
run: |
echo "15.188.129.97 local-ip.medicmobile.org" | sudo tee -a /etc/hosts
- name: Run E2E tests
run: npm run test-e2e