Skip to content

Invert dependency between remote services and domain #365

Invert dependency between remote services and domain

Invert dependency between remote services and domain #365

Workflow file for this run

name: Code check
on:
pull_request:
push:
branches:
- main
jobs:
Check:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install -r requirements/dev.txt --upgrade pip
- name: Create fake .env file
run: cp .env.template .env
- name: Run codecheck
run: bash scripts/codecheck.sh
- name: Run tests
run: bash -x scripts/run_tests.sh
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: 'reports/junit.xml'
- name: Archive reports
if: always()
uses: actions/upload-artifact@v3
with:
name: reports
path: reports