Skip to content

Commit

Permalink
Don't run backwards compatibility tests on major versions
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Feb 7, 2025
1 parent 3076ac2 commit a00ec02
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
with:
submodules: 'recursive'

- name: Extract version
id: extract_version
uses: Saionaro/extract-package-version@fdb5b74adc1278ddb777dfed4c988b9d098bb48d # v1.2.1
with:
path: packages/mobile

- name: Check for major version
id: major-ver
run: |
if [[ ${{ steps.extract_version.outputs.version }} =~ ^[0-9]+\.0\.0*$ ]]; then
echo "match=true" >> $GITHUB_OUTPUT
fi
- name: Install WM
run: sudo apt install fluxbox

Expand Down Expand Up @@ -79,7 +92,7 @@ jobs:

- name: Run Backwards Compatibility test
uses: nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
if: ${{ !contains(fromJson(env.SKIP_BACK_COMPAT_TEST_BRANCHES), github.head_ref) }}
if: ${{ steps.major-ver.outputs.match != 'true'}}
with:
timeout_minutes: 15
max_attempts: 3
Expand Down

0 comments on commit a00ec02

Please sign in to comment.