Skip to content

[change] Replaced DJANGO_FREERADIUS_ALLOWED_HOSTS #287 #443

[change] Replaced DJANGO_FREERADIUS_ALLOWED_HOSTS #287

[change] Replaced DJANGO_FREERADIUS_ALLOWED_HOSTS #287 #443

Workflow file for this run

---
name: Merge Tests
on:
pull_request:
branches:
- master
jobs:
build:
name: CI Build
runs-on: ubuntu-22.04
steps:
- name: Git Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install Testing Requirements
run: |
sudo pip install -r requirements-test.txt
sudo curl -sL -o /bin/hadolint "https://github.com/hadolint/hadolint/releases/download/v1.16.3/hadolint-Linux-x86_64"
sudo chmod +x /bin/hadolint
- name: QA checks
run: ./run-qa-checks
- name: Setup
run: |
echo "127.0.0.1 dashboard.openwisp.org api.openwisp.org" | sudo tee -a /etc/hosts
# disable metric collection during builds
sed -i 's/METRIC_COLLECTION=True/METRIC_COLLECTION=False/' .env
- name: Build Images
run: make compose-build nfs-build
- name: Test
run: make runtests || (docker-compose logs && exit 1)
env:
SELENIUM_HEADLESS: 1