Skip to content

fix newlines

fix newlines #87

Workflow file for this run

name: Pull Request Tests
on:
pull_request_target:
branches:
- master
jobs:
build:
name: Docker build test
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: build
run: docker compose -p test_codebattles build
api-test:
name: API (Newman) test
runs-on: self-hosted
needs: [build]
steps:
- uses: actions/checkout@v1
- name: Docker down
run: docker compose -p test_codebattles -f test-docker-compose.yml down
- name: Docker up
run: docker compose -p test_codebattles -f test-docker-compose.yml up -d
- name: Sleep for 30 seconds
uses: jakejarvis/wait-action@master
with:
time: '30s'
- uses: matt-ball/newman-action@master
with:
collection: tests/autotests.json
environment: tests/local_env.json
- name: Docker down
if: always()
run: docker compose -p test_codebattles -f test-docker-compose.yml down