Skip to content

Commit

Permalink
CI: Saving few lines on the GH Actions workflow
Browse files Browse the repository at this point in the history
As per PR comment, moving the one-liners run commands into the same
line as the `run:` to save few lines.
  • Loading branch information
xoen committed Oct 29, 2020
1 parent 2c59a20 commit ba78a4e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test-and-push-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,10 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Install JavaScript dependencies
run: |
npm install
run: npm install

- name: Run JavaScript tests
run: |
npm run test -- --coverage --collectCoverage=true
run: npm run test -- --coverage --collectCoverage=true

test-and-push-docker-image-to-quay:
runs-on: ubuntu-latest
Expand All @@ -44,8 +42,7 @@ jobs:
continue-on-error: true

- name: Build docker image
run: |
docker build --cache-from=controlpanel -t controlpanel .
run: docker build --cache-from=controlpanel -t controlpanel .

# Run Python tests using docker-compose

Expand Down

0 comments on commit ba78a4e

Please sign in to comment.