Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub actions #11

Merged
merged 12 commits into from
Mar 23, 2023
Merged

GitHub actions #11

merged 12 commits into from
Mar 23, 2023

Conversation

dlopezalvas
Copy link
Contributor

@@ -1,4 +1,4 @@
import { Card, CardActionArea, Stack, Typography } from "@mui/material"
import { Card, Stack, Typography } from "@mui/material"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

El CI trata a los warnings como errores, asi que no empaqueta si tenemos warnings. Esto se puede cambiar si resulta engorroso a futuro, por ahora me parece apropiado para evitar problemillas que se nos pasen en local.

Este archivo fue modificado para sacar los warnings que no dejaban empaquetar en el release.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arrancar siendo estrictos está perfecto. Siempre se puede decidir dejar de serlo.

- run: npm install

- name: Run tests
run: xvfb-run -a npm run test
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

La action GabrielBB/xvfb-action que estamos usando en Pilas-bloques, además de tener el último commit en noviembre del 2021 (no está siendo mantenida), probablemente deje de funcionar en invierno de este año: GabrielBB/xvfb-action#30. Una solución que dieron en ese mismo issue es usar xvfb-run que viene en la imagen de ubuntu-latest, por lo que no sería necesaria la action.

Si esto les parece, habría que cambiaron en el otro proyecto también

Copy link
Contributor

@asanzo asanzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,4 +1,4 @@
import { Card, CardActionArea, Stack, Typography } from "@mui/material"
import { Card, Stack, Typography } from "@mui/material"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arrancar siendo estrictos está perfecto. Siempre se puede decidir dejar de serlo.

render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
expect(true).toBeTruthy();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acá me hubiera gustado tener un test de render pavo más que un test de truthiness pavo, pero ya vendrá. 😉

@asanzo
Copy link
Contributor

asanzo commented Mar 20, 2023

De paso hay q resolver conflicts :P

@dlopezalvas
Copy link
Contributor Author

Ya empaqueta el .dmg:)

@asanzo asanzo merged commit 341d60f into develop Mar 23, 2023
@asanzo asanzo deleted the githubActions branch March 23, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crear las github actions
4 participants