Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
sneko committed Feb 20, 2024
1 parent 1e880c6 commit 76d094d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 67 deletions.
41 changes: 16 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,40 +86,31 @@ jobs:
- name: Install tools
run: bundle --gemfile src/bibliothecary/Gemfile && pip install -r src/semgrep/requirements.txt

- name: hey docker
run: docker -v
- name: hey dc
run: docker-compose -v
- name: hey ubuntu
run: lsb_release -a
# - name: hey
# run: lol failing

- name: Install dependencies
env:
PLAYWRIGHT_BROWSERS_PATH: ${{ env.STORE_PATH }}/${{ env.PLAYWRIGHT_BROWSERS_CACHE_FOLDER_SUFFIX }}
run: make deps

# - name: Prepare linting
# run: make lint-prepare
- name: Prepare linting
run: make lint-prepare

# - name: Lint
# run: make lint
- name: Lint
run: make lint

# - name: Format check
# run: make format-check
- name: Format check
run: make format-check

# - name: Prepare tests
# run: make test-prepare
- name: Prepare tests
run: make test-prepare

# - name: Install `docker-compose` for local CI/CD simulations (https://github.com/nektos/act/issues/112#issuecomment-1387307297)
# if: ${{ env.ACT }}
# uses: KengoTODA/actions-setup-docker-compose@v1
# with:
# version: '2.14.2'
# - name: Install `Xvfb` and others to run browsers for end-to-end testing in local CI/CD simulations (https://github.com/nektos/act/issues/1300#issuecomment-1387344639)
# if: ${{ env.ACT }}
# run: sudo apt-get update && sudo apt-get install -y xvfb && npx playwright install-deps
- name: Install `docker-compose` for local CI/CD simulations (https://github.com/nektos/act/issues/112#issuecomment-1387307297)
if: ${{ env.ACT }}
uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: '2.14.2'
- name: Install `Xvfb` and others to run browsers for end-to-end testing in local CI/CD simulations (https://github.com/nektos/act/issues/1300#issuecomment-1387344639)
if: ${{ env.ACT }}
run: sudo apt-get update && sudo apt-get install -y xvfb && npx playwright install-deps

- name: Test unit
run: make test-unit
Expand Down
59 changes: 22 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"accessibility": "next export && lhci autorun",
"accessibility:open": "lhci open",
"test:prepare": "npm run db:schema:compile",
"test:unit": "npm run jest --- --ci --passWithNoTests src/utils/database.spec.ts",
"test:unit:aaa": "npm run jest --- --ci --passWithNoTests src/utils/database.spec.ts",
"test:unit": "npm run jest --- --ci --passWithNoTests",
"test:unit:watch": "npm run jest --- --watch",
"test:coverage": "concurrently --kill-others-on-fail -c \"auto\" \"npm:coverage:app\" \"npm:coverage:storybook\"",
"test:app:coverage": "npm run jest --- --coverage",
Expand Down Expand Up @@ -267,9 +266,6 @@
"msw": {
"typescript": "$typescript"
},
"testcontainers": {
"docker-compose": "0.23.19"
},
"ts-import": {
"typescript": "$typescript"
}
Expand Down

0 comments on commit 76d094d

Please sign in to comment.