add servers for documentation #1333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test-integration: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install "wheel>=0.36" | |
python -m pip install -r requirements.txt | |
./fritz develop | |
- name: Set up configs | |
run: | | |
cp fritz.defaults.yaml fritz.yaml | |
cp kowalski/docker-compose.fritz.defaults.yaml kowalski/docker-compose.yaml | |
- name: Build and spin up | |
run: | | |
./fritz build --init | |
docker network create fritz_net | |
./fritz run | |
docker network inspect fritz_net | |
- name: Run integration tests | |
run: | | |
./fritz test |