Skip to content

Commit

Permalink
Merge 25462f5 into b0cfd77
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Mar 3, 2023
2 parents b0cfd77 + 25462f5 commit c47877e
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down Expand Up @@ -47,9 +47,8 @@ jobs:
run: npm test -- --coverage

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: ./web
path-to-lcov: ./web/coverage/lcov.info
flag-name: frontend
Expand Down Expand Up @@ -82,7 +81,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Ruby development files
run: zypper --non-interactive install gcc gcc-c++ make openssl-devel ruby-devel npm augeas-devel
Expand All @@ -97,9 +96,8 @@ jobs:
run: bundle exec rspec

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: ./service
path-to-lcov: ./service/coverage/lcov.info
flag-name: backend
Expand All @@ -123,7 +121,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Rubocop
run: /usr/bin/rubocop.*-1.24.1
Expand All @@ -148,7 +146,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Ruby development files
run: zypper --non-interactive install gcc gcc-c++ make openssl-devel ruby-devel npm augeas-devel
Expand Down Expand Up @@ -179,7 +177,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Ruby development files
run: zypper --non-interactive install gcc gcc-c++ make openssl-devel ruby-devel npm augeas-devel
Expand All @@ -191,9 +189,8 @@ jobs:
run: bundle exec rspec

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: ./cli
path-to-lcov: ./cli/coverage/lcov.info
flag-name: cli
Expand All @@ -217,7 +214,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Rubocop
run: /usr/bin/rubocop.*-1.24.1
Expand Down Expand Up @@ -278,7 +275,7 @@ jobs:
run: podman exec dinstaller ls -l /var/run/dbus/system_bus_socket

- name: show journal
run: podman exec dinstaller journalctl -b
run: podman exec dinstaller journalctl -b || echo "journal failed with $?"

- name: Install the frontend
run: podman exec dinstaller bash -c "ln -snfv /checkout/web/dist /usr/share/cockpit/d-installer"
Expand All @@ -300,7 +297,7 @@ jobs:
- name: Run the Playwright tests
# user authentication is not required when cockpit runs a local session
run: podman exec dinstaller bash -c "cd /checkout/playwright && SKIP_LOGIN=true npx playwright test --trace on"

- name: Upload the test results
uses: actions/upload-artifact@v3
# run even when the previous step fails
Expand All @@ -321,7 +318,6 @@ jobs:
steps:

- name: Coveralls Finished
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
parallel-finished: true

0 comments on commit c47877e

Please sign in to comment.