Skip to content

Commit

Permalink
ci: Use mise
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Apr 15, 2024
1 parent 5944174 commit 8bd476f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: jdx/mise-action@v2
- name: Checkout
uses: actions/checkout@v2
- name: Create test env
Expand All @@ -26,6 +27,6 @@ jobs:
touch $ENV_PATH
echo -e "enum Env {\n static let token = \"$ACCESS_TOKEN\"\n static let userId = $USER_ID\n static let mailboxId = $MAILBOX_ID\n}" > $ENV_PATH
- name: Build
run: .tuist-bin/tuist build --generate "Infomaniak Mail"
run: tuist install && tuist build --generate "Infomaniak Mail"
- name: Test
run: .tuist-bin/tuist test Mail --test-targets MailTests/MailApiTests
run: tuist test Mail --test-targets MailTests/MailApiTests
3 changes: 2 additions & 1 deletion .github/workflows/uitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: jdx/mise-action@v2
- name: Checkout
uses: actions/checkout@v2
- name: Create test env
Expand All @@ -25,4 +26,4 @@ jobs:
touch $ENV_PATH
echo -e "enum Env {\n static let testAccountEmail = \"$UITEST_ACCOUNT_EMAIL\"\n static let testAccountPassword = \"$UITEST_ACCOUNT_PASSWORD\"\n}" > $ENV_PATH
- name: UITest
run: .tuist-bin/tuist test Mail --device "iPhone 15 Pro" --test-targets MailUITests/MailUITests
run: tuist install && tuist test Mail --device "iPhone 15 Pro" --test-targets MailUITests/MailUITests

0 comments on commit 8bd476f

Please sign in to comment.