-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: restore yarn test
, excluding e2e; restore node LTS
#78
Conversation
.github/workflows/pr.yml
Outdated
@@ -35,6 +35,8 @@ jobs: | |||
run: yarn start:docker | |||
- name: yarn build | |||
run: yarn build | |||
- name: yarn test | |||
run: yarn test --exclude "**/e2e/**" | |||
- name: yarn start:contract |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe better to stick this in the unit
job? L23-L24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops! yes, that's where I meant to put it...
p.s. I presume you don't mind a force push
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right either:
dapp-offer-up/.github/workflows/pr.yml
Lines 12 to 16 in 70540a2
- name: Use Node.js 18.8.x | |
uses: actions/setup-node@v3 | |
with: | |
# use node 18.8.x until Agoric/agoric-sdk#8636 | |
node-version: "18.8.x" |
18.x
, or ['18.x', '20.x']
since it's a quick job?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try it, but see also
56c7a48
to
aebfd29
Compare
(disabling auto-merge until Agoric/agoric-sdk#9250 lands) |
yarn test
, excluding e2eyarn test
, excluding e2e; restore node LTS
odd... ci checks aren't running. I don't see why not. |
I think we might need to do something like: runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x', '20.x']
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Use Node.js LTS versions
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }} |
@dckc can we merge this now? |
It doesn't seem to work. I see Some checks haven’t completed yet and I don't see how to get them to complete. If what you want is the change to node versions, you could make a PR with just that commit. |
.github/workflows/pr.yml
Outdated
uses: actions/setup-node@v3 | ||
with: | ||
# use node 18.8.x until Agoric/agoric-sdk#8636 | ||
node-version: "18.8.x" | ||
node-version: ['18.x', '20.x'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dckc Have you tried changing this to just a string instead of an array?
@frazarshad suggests:
"i think instead we can use matrix testing if we want to test on multiple node versions"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an attempt to do matrix testing. We should be testing on 18 and 20. Ah... it look like patrick's comment is saying roughly the same thing. I can try that...
fixes #77