strapi/.github/workflows/skipped_tests.yml
Jamie Howard 14f494b783
chore: remove helper plugin migration guide from monorepo (#21065)
* chore: remove helper plugin migration guide from monorepo

* chore: add missing skipped tests

* chore: add prettier to skipped_tests

* chore: fix projects

---------

Co-authored-by: DMehaffy <derrickmehaffy@gmail.com>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2024-08-28 15:39:44 +01:00

138 lines
2.9 KiB
YAML

name: 'Tests'
on:
pull_request:
paths:
- 'docs/**'
- '**.mdx?'
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
nonDoc: ${{ steps.filter.outputs.nonDoc }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v3
id: filter
with:
filters: .github/filters.yaml
pretty:
name: 'pretty (node: 20)'
runs-on: ubuntu-latest
strategy:
matrix:
node: [20]
steps:
- run: echo "Skipped"
lint:
name: 'lint (node: ${{ matrix.node }})'
runs-on: ubuntu-latest
strategy:
matrix:
node: [20]
steps:
- run: echo "Skipped"
typescript:
runs-on: ubuntu-latest
needs: [build]
name: 'typescript'
steps:
- run: echo "Skipped"
unit_back:
name: 'unit_back (node: ${{ matrix.node }})'
needs: [lint]
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- run: echo "Skipped"
unit_front:
name: 'unit_front (node: ${{ matrix.node }})'
needs: [lint]
runs-on: ubuntu-latest
strategy:
matrix:
node: [20]
steps:
- run: echo "Skipped"
build:
name: 'build (node: ${{ matrix.node }})'
needs: [changes, lint, unit_front]
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- run: echo "Skipped"
cli:
name: 'CLI Tests'
needs: [changes, build]
runs-on: ubuntu-latest
steps:
- run: echo "Skipped"
e2e_ce:
runs-on: ubuntu-latest
needs: [lint, unit_back, unit_front]
name: '[CE] e2e (browser: ${{ matrix.project }})'
strategy:
matrix:
project: ['chromium', 'webkit', 'firefox']
steps:
- run: echo "Skipped"
e2e_ee:
runs-on: ubuntu-latest
needs: [lint, unit_back, unit_front]
name: '[EE] e2e (browser: ${{ matrix.project }})'
strategy:
matrix:
project: ['chromium', 'webkit', 'firefox']
steps:
- run: echo "Skipped"
api_ce_pg:
runs-on: ubuntu-latest
needs: [lint, unit_back, unit_front]
name: '[CE] API Integration (postgres, node: ${{ matrix.node }})'
strategy:
matrix:
node: [18, 20]
steps:
- run: echo "Skipped"
api_ce_mysql:
runs-on: ubuntu-latest
needs: [lint, unit_back, unit_front]
name: '[CE] API Integration (mysql, node: ${{ matrix.node }})'
strategy:
matrix:
node: [18, 20]
steps:
- run: echo "Skipped"
api_ce_sqlite:
runs-on: ubuntu-latest
needs: [lint, unit_back, unit_front]
name: '[CE] API Integration (sqlite: ${{ matrix.sqlite_pkg }}, node: ${{ matrix.node }})'
steps:
- run: echo "Skipped"