Skip to content

Commit de3490f

Browse files
committed
ci(Codecov): remove duplicate Codecov run on PR
1 parent 59aa593 commit de3490f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/codecov.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: code-coverage
22
on:
3-
push:
4-
paths:
5-
- "force-app/**"
3+
workflow-dispatch:
4+
#push:
5+
# paths:
6+
# - "force-app/**"
67
jobs:
78
build:
89
runs-on: ubuntu-latest
@@ -18,11 +19,11 @@ jobs:
1819
- name: Authenticate Dev Hub
1920
run: "sf org login sfdx-url --sfdx-url-file ./SALESFORCE_AUTH_URL.txt --alias DevHub --set-default-dev-hub"
2021
- name: Create Scratch Org
21-
run: sf force org create --setdefaultusername --definitionfile config/project-scratch-def.json --setalias ciorg --durationdays 1
22+
run: sf force org create scratch --set-default --definition-file config/project-scratch-def.json --alias ciorg --duration-days 1
2223
- name: Deploy source
2324
run: sf force source push
2425
- name: assign permissions
25-
run: sf force user permset assign --perm-set-name Duplicates_Handler
26+
run: sf force user permset assign --name Duplicates_Handler
2627
- name: Run Apex tests
2728
run: sf apex run test --code-coverage --result-format human --output-dir ./
2829
#- name: Delete coverage file (temporary fix)

0 commit comments

Comments
 (0)