Skip to content

experiment with splitting out tasks into callable workflows #29

experiment with splitting out tasks into callable workflows

experiment with splitting out tasks into callable workflows #29

Workflow file for this run

name: CI
on: push
jobs:
lint:
uses: ./.github/workflows/lint.yaml

Check failure on line 7 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yaml" -> "./.github/workflows/lint.yaml" (source branch with sha:2cc0ad8b848376022509944af6c12e0e10044372) : You have an error in your yaml syntax on line 9
test:
needs: [test]
uses: ./.github/workflows/test.yaml
# name: CI
# on: push
# jobs:
# test:
# runs-on: ubuntu-latest
# env:
# DJANGO_SETTINGS_MODULE: rca.settings.test
# SECRET_KEY: testingsecretkey
# SECURE_SSL_REDIRECT: false
# ALLOWED_HOSTS: localhost
# DATABASE_URL: postgres://postgres:postgres@localhost/postgres
# BIRDBATH_REQUIRED: false
# services:
# postgres:
# image: postgres:12.3
# env:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# POSTGRES_DB: postgres
# ports:
# - 5432:5432
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v3
# with:
# node-version: '16'
# - name: Install npm dependencies
# run: npm install
# - name: CSS linting
# run: npm run lint:css
# - name: JS linting
# run: npm run lint:js
# - name: Prettier
# run: npm run format
# - name: JS tests
# run: npm run test
# - name: Compile static files
# run: npm run build:prod
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.8
# - uses: Gr1N/setup-poetry@v8
# with:
# poetry-version: 1.5.0
# - name: Install Poetry
# run: |
# poetry config virtualenvs.create false &&
# poetry install
# # - name: Flake8
# # run: flake8 ./rca fabfile.py
# - name: isort
# run: isort --check-only --diff ./rca fabfile.py
# - name: black
# run: black --check --diff ./rca fabfile.py --exclude migrations/
# - name: collectstatic
# run: python manage.py collectstatic --verbosity 0 --noinput --clear
# - name: System checks
# run: python manage.py check
# - name: Missing migrations
# run: python manage.py makemigrations --check --noinput
# - name: Test
# run: python manage.py test --settings=rca.settings.test