Skip to content

Fixed workflow ci.yml moved environment in between #278

Fixed workflow ci.yml moved environment in between

Fixed workflow ci.yml moved environment in between #278

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- "github-pages/*"
- "gh-pages/*"
- "main"
- "master"
pull_request:
types: [opened, reopened]
schedule:
# “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru)
- cron: "0 0 1/7 * *"
jobs:
ci-job:
name: Checks
uses: ./.github/workflows/checks.yml
secrets: inherit
metrics:
needs: [ ci-job ]
uses: ./.github/workflows/report.yml
gate-1:
name: Regular
needs: [ ci-job ]
runs-on: ubuntu-latest
steps:
- name: Branch Protection
run: true
slow-tests:
uses: ./.github/workflows/run-tests.yml
secrets: inherit
environment:

Check failure on line 38 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 38, Col: 5): Unexpected value 'environment'
slow-tests
with:
slow-tests: true
python-version: "3.10"
gate-2:
name: Merge
runs-on: ubuntu-latest
needs: [ slow-tests ]
steps:
- name: Branch Protection
run: true