Closed s8sachin closed 2 years ago
Hi @s8sachin have you tried the following?
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: yarn test
uses: GabrielBB/xvfb-action@v1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
run: |
yarn package-ci
yarn lint
yarn tsc
run: yarn package-ci && yarn lint && yarn tsc
# seems to work.
Also, I cannot run commands in allow failures (|| true
) mode like…
- uses: GabrielBB/xvfb-action@v1
with:
run: pytest . || true
- run: other_commands.sh
This should normally allow me to see which test are failing but also allow me to run other commands which follow.
When I try:
- name: Screenshot
uses: GabrielBB/xvfb-action@v1
with:
run: |
openscad -o frame_floor.png frame_floor.scad
openscad -o sheet_floor.png sheet_floor.scad
openscad -o frame_walls.png frame_walls.scad
openscad -o house.png house.scad
I get:
/usr/bin/xvfb-run --auto-servernum openscad -o frame_floor.png frame_floor.scad
openscad -o sheet_floor.png sheet_floor.scad
openscad -o frame_walls.png frame_walls.scad
openscad -o house.png house.scad
option '--o' cannot be specified more than once
@s8sachin @cclauss @hybridx - I put up a PR that I believe should fix this. Waiting to hear from @GabrielBB.
@jjshoe Thanks. Merged and deployed.
Can confirm this works, I think it's safe to close this issue: https://github.com/jjshoe/TheTiny/runs/4192635061?check_suite_focus=true
Trying to run multiline gives out error Command:
Error:
Error on os
macos-latest
andubuntu-latest
, but works fine onwindows-latest
Any solution for this please ?