Skip to content

Commit

Permalink
Merge branch 'master' into 2638-unstable-semaphoreci-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 authored Oct 31, 2024
2 parents d93ee11 + 7d34f2c commit ec1e266
Show file tree
Hide file tree
Showing 11 changed files with 599 additions and 408 deletions.
78 changes: 39 additions & 39 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 2
groups:
npm-deps:
patterns:
- "*"
ignore:
- dependency-name: "kill-port"
versions: ["2.0.0", "2.0.1"]
- dependency-name: "eslint"
update-types: ["version-update:semver-major"]
# - package-ecosystem: "npm"
# directory: "/"
# schedule:
# interval: "monthly"
# open-pull-requests-limit: 2
# groups:
# npm-deps:
# patterns:
# - "*"
# ignore:
# - dependency-name: "kill-port"
# versions: ["2.0.0", "2.0.1"]
# - dependency-name: "eslint"
# update-types: ["version-update:semver-major"]

- package-ecosystem: "npm"
directory: "/Core/"
schedule:
interval: "monthly"
open-pull-requests-limit: 2
groups:
core-deps:
patterns:
- "*"
ignore:
- dependency-name: "@openpgp/web-stream-tools"
versions: [">= 0.0.12"]
- dependency-name: "ava"
update-types: ["version-update:semver-major"]
- dependency-name: "chai"
update-types: ["version-update:semver-major"]
# - package-ecosystem: "npm"
# directory: "/Core/"
# schedule:
# interval: "monthly"
# open-pull-requests-limit: 2
# groups:
# core-deps:
# patterns:
# - "*"
# ignore:
# - dependency-name: "@openpgp/web-stream-tools"
# versions: [">= 0.0.12"]
# - dependency-name: "ava"
# update-types: ["version-update:semver-major"]
# - dependency-name: "chai"
# update-types: ["version-update:semver-major"]

- package-ecosystem: "github-actions"
directory: "/"
Expand All @@ -46,12 +46,12 @@ updates:
patterns:
- "*"

- package-ecosystem: "npm"
directory: "/appium/"
schedule:
interval: "monthly"
open-pull-requests-limit: 2
groups:
appium-deps:
patterns:
- "*"
# - package-ecosystem: "npm"
# directory: "/appium/"
# schedule:
# interval: "monthly"
# open-pull-requests-limit: 2
# groups:
# appium-deps:
# patterns:
# - "*"
19 changes: 11 additions & 8 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ blocks:
- name: Build + Swift Unit Test
dependencies: []
run:
when: "change_in('/', {exclude: ['/Core/package.json', '/Core/package-lock.json']})"
when: "change_in('/', {exclude: ['/Core/package.json', '/Core/package-lock.json', '/.github/dependabot.yml']})"
execution_time_limit:
minutes: 115
minutes: 60
task:
env_vars:
- name: LANG
Expand All @@ -28,18 +28,19 @@ blocks:
jobs:
- name: Build Xcode Project + Swift Unit Test
commands:
- fastlane build
- fastlane test
- bundle install
- bundle exec fastlane build
- bundle exec fastlane test
epilogue:
always:
commands:
- cd /var/tmp/derived_data/Build/Products/Debug-iphonesimulator && cache store FlowCrypt-$SEMAPHORE_GIT_SHA.app FlowCrypt.app
- name: TypeScript tests
dependencies: []
run:
when: "change_in('/', {exclude: ['/appium/package.json', '/appium/package-lock.json']})"
when: "change_in('/', {exclude: ['/appium/package.json', '/appium/package-lock.json', '/.github/dependabot.yml']})"
execution_time_limit:
minutes: 45
minutes: 5
task:
agent:
machine:
Expand Down Expand Up @@ -67,6 +68,10 @@ blocks:
- name: UI Tests
dependencies:
- Build + Swift Unit Test
run:
when: "change_in('/', {exclude: ['/Core/package.json', '/Core/package-lock.json', '/Gemfile', '/Gemfile.lock', '/.github/dependabot.yml', '/.semaphore/semaphore.yml', '/package.json', '/package-lock.json']})"
execution_time_limit:
minutes: 80
task:
env_vars:
- name: LANG
Expand Down Expand Up @@ -104,8 +109,6 @@ blocks:
# - npm run-script test.live.all
secrets:
- name: flowcrypt-ios-ci-secrets
run:
when: "change_in('/', {exclude: ['/Core/package.json', '/Core/package-lock.json']})"
after_pipeline:
task:
jobs:
Expand Down
Loading

0 comments on commit ec1e266

Please sign in to comment.