Skip to content

Commit

Permalink
improve report generation (via #27)
Browse files Browse the repository at this point in the history
  • Loading branch information
baev authored Dec 17, 2024
1 parent 0d2e55b commit b66bf0c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
run: yarn test
- name: Lint Project
run: yarn eslint
- name: Generate report
run: yarn report
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
Expand Down
3 changes: 0 additions & 3 deletions allurerc.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import { defineConfig } from "allure";

// TODO: add history path
export default defineConfig({
name: "Allure Report 3",
output: "./out/allure-report",
plugins: {
awesome: {
options: {
reportName: "Allure Report 3",
singleFile: true,
reportLanguage: "en",
open: true,
},
},
log: {
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
"eslint:format": "yarn workspaces foreach -Avvpt run eslint:format",
"prepare": "husky",
"prettier:format": "prettier --write './packages/*/{src,test,features}/**/*.{json,js,ts,tsx}' package.json ./packages/*/package.json",
"prereport": "rimraf ./out/allure-report",
"report": "yarn allure generate ./out/allure-results",
"pretest": "rimraf ./out/allure-results",
"test": "yarn workspaces foreach -Avvpt run test"
"test": "yarn allure run -- yarn workspaces foreach -Avvpt run test"
},
"lint-staged": {
"packages/*/{src,test,features}/**/*.{js,ts,tsx}": [
Expand Down

0 comments on commit b66bf0c

Please sign in to comment.