-
Notifications
You must be signed in to change notification settings - Fork 71
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
test: Introduce XS CI workflow #2465
base: master
Are you sure you want to change the base?
Conversation
a21437e
to
713abb1
Compare
004dd04
to
061240f
Compare
.github/workflows/ci.yml
Outdated
- name: Run yarn build | ||
run: yarn build | ||
|
||
- name: Get XS |
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.
Here's an idea:
- name: Get XS | |
- name: Check release | |
id: check-release | |
run: | | |
if curl -f -s -o /dev/null -I -L https://api.github.com/repos/Moddable-OpenSource/moddable/releases/tags/${{ matrix.moddable-version }} then | |
echo "release=true" | |
else | |
echo "release=false" | |
fi >> $GITHUB_OUTPUT | |
- name: Get XS | |
if: steps.check-release.outputs.release == 'true' |
With the build step if it's not.
.github/workflows/ci.yml
Outdated
# - name: Clone XS | ||
# run: git clone https://github.com/moddable-OpenSource/moddable --branch "${{ matrix.moddable-version }}" --depth 1 |
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'd recommend using actions/checkout
, also avoid to checkout as a subfolder of the repo under testing, it tends to complicate things
dd0216b
to
2ed5693
Compare
2ed5693
to
51b25fd
Compare
Refs: #2254
Description
Rigs CI to run tests with
xst
. We can elaborate on this with a broader XS version vector and add XS tests to packages. This is in anticipation of a new harness262 package that will needxst
in CI.