-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rybickic/enable-sim-updates-default
- Loading branch information
Showing
613 changed files
with
17,699 additions
and
6,984 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Periodic Azure cleanup | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * 1" # Every Saturday at midnight UTC, I assume the main build won't be triggered right before this one | ||
workflow_dispatch: {} | ||
|
||
env: | ||
MANUAL: ${{ github.event_name == 'workflow_dispatch' }} | ||
|
||
jobs: | ||
azure-cleanup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: test if is maintainer | ||
uses: tspascoal/get-user-teams-membership@v3 | ||
id: testUserGroup | ||
if: ${{ env.MANUAL == 'true' }} | ||
with: | ||
username: ${{ github.actor }} | ||
team: "maintainers" | ||
GITHUB_TOKEN: ${{ secrets.GH_GROUPS_READ_TOKEN }} | ||
- name: cancel run if not allowed | ||
if: ${{ env.MANUAL == 'true' && steps.testUserGroup.outputs.isTeamMember == 'false' }} | ||
run: | | ||
echo "User ${{github.actor}} is not allowed to dispatch this action." | ||
exit 1 | ||
- name: Configure azure credentials | ||
uses: azure/login@v2 | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
- name: Remove all resources | ||
run: | | ||
for rg in $(az group list --query "[].name" -o tsv); do | ||
az group delete --name $rg --yes --no-wait | ||
done |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import { expect, test } from "@playwright/test"; | ||
|
||
import { describe } from "../describe.js"; | ||
|
||
describe( | ||
`${__dirname}/main.w`, | ||
() => { | ||
test("Sign in modal is visible when required", async ({ page }) => { | ||
const signinModal = page.getByTestId("signin-modal"); | ||
await expect(signinModal).toBeVisible(); | ||
}); | ||
}, | ||
{ requireSignIn: true }, | ||
); | ||
|
||
describe( | ||
`${__dirname}/main.w`, | ||
() => { | ||
test("GitHub button is clickable", async ({ page }) => { | ||
const githubLoginButton = page.getByTestId("signin-github-button"); | ||
await expect(githubLoginButton).toBeVisible(); | ||
await expect(githubLoginButton).toBeEnabled(); | ||
await githubLoginButton.click(); | ||
}); | ||
}, | ||
{ requireSignIn: true }, | ||
); | ||
|
||
describe( | ||
`${__dirname}/main.w`, | ||
() => { | ||
test("Google button is clickable", async ({ page }) => { | ||
const googleSignInButton = page.getByTestId("signin-google-button"); | ||
await expect(googleSignInButton).toBeVisible(); | ||
await expect(googleSignInButton).toBeEnabled(); | ||
await googleSignInButton.click(); | ||
}); | ||
}, | ||
{ requireSignIn: true }, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bring cloud; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.