mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2024-12-24 18:32:36 +00:00
7ef32882f1
* Freeze release workflow - Do not pull anything from master - Do not push release commit to master - Only push created version tag * Refine scripts to start new version 1. Cherry-pick hotfixes from released version 2. Bump version to new version Normally, 1 is only made of the release commit updating CHANGELOG with the release date. However, if a release branch was needed to apply hotfixes to the latest release, cherry picking will account for the whole release branch (i.e. multiple commits). * Ignore more paths for unit testing
34 lines
716 B
YAML
34 lines
716 B
YAML
name: Unit Tests
|
|
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize ]
|
|
paths-ignore:
|
|
- '.beta-*'
|
|
- '**/*.md'
|
|
- '**/*.sh'
|
|
- '**/*.yml'
|
|
- 'Passepartout/App/fastlane/**'
|
|
|
|
jobs:
|
|
run_tests:
|
|
name: Run tests
|
|
runs-on: macos-12
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- uses: maxim-lobanov/setup-xcode@v1
|
|
with:
|
|
xcode-version: latest-stable
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
bundler-cache: true
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "^1.17"
|
|
- name: Run tests
|
|
run: |
|
|
bundle exec fastlane --env beta,ios scan
|