Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

test: Introduce XS CI workflow #2465

wants to merge 1 commit into from

Conversation

kriskowal
Copy link
Member

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 need xst in CI.

@kriskowal kriskowal force-pushed the kriskowal-xs-ci branch 12 times, most recently from a21437e to 713abb1 Compare September 20, 2024 22:31
@kriskowal kriskowal marked this pull request as ready for review September 20, 2024 22:35
@kriskowal kriskowal force-pushed the kriskowal-xs-ci branch 4 times, most recently from 004dd04 to 061240f Compare September 21, 2024 00:08
- name: Run yarn build
run: yarn build

- name: Get XS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's an idea:

Suggested change
- 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.

Comment on lines 350 to 351
# - name: Clone XS
# run: git clone https://github.com/moddable-OpenSource/moddable --branch "${{ matrix.moddable-version }}" --depth 1
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants