Commit Graph

61 Commits

Author SHA1 Message Date
Roland Geider
a1a30316be Don't persist checkout credentials in CI workflows 2026-10-25 20:53:40 +01:00
Roland Geider
e89634d4bd Increase number of test shards
This should reduce the total test time a bit
2026-08-28 13:50:36 +02:00
Roland Geider
45aeda7ac0 Merge branch 'master' into feature/health-sync
# Conflicts:
#	lib/l10n/app_de.arb
#	lib/l10n/app_es.arb
#	lib/l10n/app_fr.arb
2026-07-28 22:39:59 +02:00
Roland Geider
55cdd64fb3 Fix trigger for CI 2026-07-11 00:46:20 +02:00
Roland Geider
4a8a1d6d00 Split test into shards for parallel runs 2026-07-09 13:07:07 +02:00
dependabot[bot]
4db33865df Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 00:52:32 +00:00
Roland Geider
6831ee73dd Set explicit permissions for all workflows 2026-05-08 15:13:43 +02:00
dependabot[bot]
b75ca37d05 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 00:18:32 +00:00
Roland Geider
fecfcf2b20 Bump flutter to 3.38 2025-11-18 17:55:21 +01:00
Roland Geider
fc881c4929 Properly handle timezones
This should (hopefully 🤞) take care of problems saving entries with timezone
information.
2025-11-18 16:30:52 +01:00
dependabot[bot]
13e39bd958 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 20:10:13 +02:00
Roland Geider
a23da30e88 Allow manually triggering the CI workflow 2025-04-05 18:26:29 +02:00
Roland Geider
952a11a98d Don't need to remove folders from coverage twice 2025-04-05 18:25:38 +02:00
Roland Geider
539cb00f40 Exclude some files from the coverage report 2025-04-05 13:11:28 +00:00
Roland Geider
b10e698913 Refactor the way the releases are built
This workflow is not manually triggered and can create automatically the appropriate
tag. The build number is not increase to the next multiple of ten, to stay in sync with
the iOS releases, which seem to cause more trouble and often need reuploads.

The individual steps have been moved out to their own files, for better readability.

We also now build the app for all supported platforms.
2025-04-05 14:54:39 +02:00
Roland Geider
6ee7dd048b Write result to coverage/lcov.info 2025-04-01 21:24:11 +02:00
Roland Geider
6ce57af131 Exclude some files from the coverage report 2025-03-31 12:24:21 +02:00
Roland Geider
276f6dd480 Let's not be that much up-to-date... 2025-03-27 17:42:58 +01:00
Roland Geider
d071d143df Update flutter to 3.29
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported

Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider
2d6a2db73f Get appropriate rights before installing the package... 2024-12-17 11:49:23 +01:00
Roland Geider
8377e7a3ba Install libsqlite3-dev
This is probably needed for the CI to run correctly
2024-12-17 11:44:46 +01:00
Roland Geider
6e8a3a7122 Bump flutter version 2024-12-12 21:08:46 +01:00
Roland Geider
9591d7cd11 Cache flutter packages 2024-10-16 15:32:32 +02:00
Roland Geider
15b6eb19b0 Update carousel_slider and used flutter version 2024-09-26 20:00:55 +02:00
Dieter Plaetinck
8a2d09d374 switch to use flutter 3.22 2024-07-11 19:19:17 +03:00
Roland Geider
36c4f19371 Bump used flutter version to 3.19 2024-02-18 11:48:15 +01:00
Roland Geider
45595d3128 Merge pull request #458 from wger-project/dependabot/github_actions/subosito/flutter-action-2
Bump subosito/flutter-action from 1 to 2
2023-11-18 23:16:53 +01:00
dependabot[bot]
0541076fd5 Bump subosito/flutter-action from 1 to 2
Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 1 to 2.
- [Release notes](https://github.com/subosito/flutter-action/releases)
- [Commits](https://github.com/subosito/flutter-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: subosito/flutter-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-18 22:15:59 +00:00
dependabot[bot]
65dd387425 Bump actions/checkout from 1 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v1...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-18 22:15:51 +00:00
Roland Geider
986d485867 Update used flutter version 2023-11-18 17:57:34 +01:00
Roland Geider
1684288f09 Finally update flutter version 🥳 2023-11-09 19:07:09 +01:00
Roland Geider
ccc10b0426 Don't run the test twice on PRs 2023-11-09 18:41:13 +01:00
Roland Geider
e129b2bb8a Bump flutter version to 3.7 2023-01-27 19:59:11 +01:00
Roland Geider
a8e4fdb4e0 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	lib/models/workouts/log.dart
#	test/gallery/gallery_screen_test.mocks.dart
#	test/measurements/measurement_categories_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/other/base_provider_test.mocks.dart
#	test/workout/workout_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-10-10 15:50:50 +02:00
Roland Geider
12a8e73809 Update flutter version used for CI and builds 2022-09-26 15:20:59 +02:00
Roland Geider
64a930cd9b Upgrade to flutter 3.3 2022-09-10 23:47:53 +02:00
Roland Geider
a83d54bef2 Merge branch 'master' into feature/exercise-crowdsourcing 2022-07-18 15:59:24 +02:00
Roland Geider
c80b9f11ac Update to flutter 3.0
Closes #196
2022-07-18 15:45:07 +02:00
Roland Geider
0711e199da Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	lib/models/exercises/exercise.g.dart
#	pubspec.lock
#	pubspec.yaml
#	test/gallery/gallery_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/workout/workout_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-07-01 09:47:52 +02:00
Roland Geider
4bd916afa6 Upload coverage results to coveralls 2022-07-01 09:44:58 +02:00
Roland Geider
7ae98462fa Also run the CI on branches other than master 2022-05-11 00:05:46 +02:00
Roland Geider
a2f0a86510 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	pubspec.lock
2022-03-27 13:54:43 +02:00
Roland Geider
f41ad86e1e Run tests when updating pubspec.yaml 2022-03-25 22:52:25 +01:00
Roland Geider
badc3257d0 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	assets/images/muscles/back.svg
#	assets/images/muscles/main/muscle-1.svg
#	assets/images/muscles/main/muscle-10.svg
#	assets/images/muscles/main/muscle-11.svg
#	assets/images/muscles/main/muscle-12.svg
#	assets/images/muscles/main/muscle-13.svg
#	assets/images/muscles/main/muscle-14.svg
#	assets/images/muscles/main/muscle-15.svg
#	assets/images/muscles/main/muscle-16.svg
#	assets/images/muscles/main/muscle-2.svg
#	assets/images/muscles/main/muscle-3.svg
#	assets/images/muscles/main/muscle-4.svg
#	assets/images/muscles/main/muscle-5.svg
#	assets/images/muscles/main/muscle-6.svg
#	assets/images/muscles/main/muscle-7.svg
#	assets/images/muscles/main/muscle-8.svg
#	assets/images/muscles/main/muscle-9.svg
#	assets/images/muscles/secondary/muscle-1.svg
#	assets/images/muscles/secondary/muscle-10.svg
#	assets/images/muscles/secondary/muscle-11.svg
#	assets/images/muscles/secondary/muscle-12.svg
#	assets/images/muscles/secondary/muscle-13.svg
#	assets/images/muscles/secondary/muscle-14.svg
#	assets/images/muscles/secondary/muscle-15.svg
#	assets/images/muscles/secondary/muscle-16.svg
#	assets/images/muscles/secondary/muscle-2.svg
#	assets/images/muscles/secondary/muscle-3.svg
#	assets/images/muscles/secondary/muscle-4.svg
#	assets/images/muscles/secondary/muscle-5.svg
#	assets/images/muscles/secondary/muscle-6.svg
#	assets/images/muscles/secondary/muscle-7.svg
#	assets/images/muscles/secondary/muscle-8.svg
#	assets/images/muscles/secondary/muscle-9.svg
#	lib/helpers/consts.dart
#	lib/l10n/app_en.arb
#	lib/models/exercises/exercise.dart
#	lib/models/exercises/exercise.g.dart
#	lib/providers/exercises.dart
#	lib/widgets/exercises/exercises.dart
#	pubspec.lock
#	pubspec.yaml
#	test/exercises/exercises_detail_widget_test.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-02-19 22:07:47 +01:00
Roland Geider
2e9356ecda Bump some versions, build app with flutter 2.10 2022-02-19 21:47:07 +01:00
Roland Geider
4bb91f1c14 Update to flutter 2.8 2022-01-23 21:57:53 +01:00
Roland Geider
2119c26ad3 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	.github/workflows/ci.yml
#	lib/models/exercises/comment.g.dart
#	lib/models/exercises/exercise.g.dart
#	lib/models/exercises/image.g.dart
#	lib/models/measurements/measurement_entry.g.dart
#	lib/models/nutrition/ingredient_weight_unit.g.dart
#	lib/models/nutrition/log.g.dart
#	lib/models/workouts/day.g.dart
#	lib/models/workouts/session.g.dart
#	lib/models/workouts/workout_plan.g.dart
#	lib/providers/exercises.dart
#	pubspec.lock
#	pubspec.yaml
#	test/utils.dart
#	test/workout/gym_mode_screen_test.dart
2022-01-15 12:58:02 +01:00
Roland Geider
97616871bc Don't run CI when non-dart files were changed 2021-11-09 11:29:46 +01:00
Roland Geider
0ac894bdc2 Merge branch 'master' into feature/exercise-crowdsourcing 2021-11-03 20:30:54 +01:00
Roland Geider
23fea5a46a Test the app with flutter 2.5 2021-11-03 20:29:09 +01:00