refactor(ci): don't fetch actions from develop
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
d6adc3d7c2
commit
fadbddff2e
5 changed files with 12 additions and 9 deletions
3
.github/workflows/_base-migration.yml
vendored
3
.github/workflows/_base-migration.yml
vendored
|
|
@ -40,7 +40,8 @@ jobs:
|
|||
env:
|
||||
MARIADB_ROOT_PASSWORD: ${{ env.DB_ROOT_PASSWORD }}
|
||||
steps:
|
||||
- uses: frappe/frappe/.github/actions/setup@develop
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup
|
||||
name: Environment Setup
|
||||
with:
|
||||
python-version: ${{ inputs.python-version }}
|
||||
|
|
|
|||
7
.github/workflows/_base-server-tests.yml
vendored
7
.github/workflows/_base-server-tests.yml
vendored
|
|
@ -90,7 +90,8 @@ jobs:
|
|||
- 2525:25
|
||||
- 3000:80
|
||||
steps:
|
||||
- uses: frappe/frappe/.github/actions/setup@develop
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup
|
||||
name: Environment Setup
|
||||
with:
|
||||
python-version: ${{ inputs.python-version }}
|
||||
|
|
@ -120,10 +121,10 @@ jobs:
|
|||
file_path=$(echo "$file_info" | cut -d':' -f1)
|
||||
line_number=$(echo "$file_info" | cut -d':' -f2)
|
||||
warning_type=$(echo "$warning" | grep -oP '\w+Warning')
|
||||
|
||||
|
||||
# Extract the actual warning message
|
||||
message=$(echo "$warning" | sed -E "s/^.*$warning_type: //")
|
||||
|
||||
|
||||
# Create the annotation
|
||||
echo "::warning file=${file_path},line=${line_number}::${warning_type}: ${message}"
|
||||
done
|
||||
|
|
|
|||
3
.github/workflows/_base-ui-tests.yml
vendored
3
.github/workflows/_base-ui-tests.yml
vendored
|
|
@ -63,7 +63,8 @@ jobs:
|
|||
env:
|
||||
MARIADB_ROOT_PASSWORD: ${{ env.DB_ROOT_PASSWORD }}
|
||||
steps:
|
||||
- uses: frappe/frappe/.github/actions/setup@develop
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/setup
|
||||
name: Environment Setup
|
||||
with:
|
||||
python-version: ${{ inputs.python-version }}
|
||||
|
|
|
|||
6
.github/workflows/server-tests.yml
vendored
6
.github/workflows/server-tests.yml
vendored
|
|
@ -20,7 +20,7 @@ permissions:
|
|||
jobs:
|
||||
typecheck:
|
||||
name: Types
|
||||
uses: frappe/frappe/.github/workflows/_base-type-check.yml@develop
|
||||
uses: ./.github/workflows/_base-type-check.yml
|
||||
|
||||
checkrun:
|
||||
name: Plan Tests
|
||||
|
|
@ -42,7 +42,7 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
test:
|
||||
name: Tests
|
||||
uses: frappe/frappe/.github/workflows/_base-server-tests.yml@develop
|
||||
uses: ./.github/workflows/_base-server-tests.yml
|
||||
with:
|
||||
enable-postgres: true # This will test against both MariaDB and PostgreSQL
|
||||
parallel-runs: 2
|
||||
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
migrate:
|
||||
name: Migration
|
||||
needs: checkrun
|
||||
uses: frappe/frappe/.github/workflows/_base-migration.yml@develop
|
||||
uses: ./.github/workflows/_base-migration.yml
|
||||
with:
|
||||
db-artifact-url: https://frappeframework.com/files/v13-frappe.sql.gz
|
||||
python-version: '3.10'
|
||||
|
|
|
|||
2
.github/workflows/ui-tests.yml
vendored
2
.github/workflows/ui-tests.yml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
|
||||
test:
|
||||
name: Tests (Cypress)
|
||||
uses: frappe/frappe/.github/workflows/_base-ui-tests.yml@develop
|
||||
uses: ./.github/workflows/_base-ui-tests.yml
|
||||
with:
|
||||
parallel-runs: 3
|
||||
enable-coverage: ${{ github.event_name != 'pull_request' }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue