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

ci: run tests on self-hosted runners #37

Closed
wants to merge 7 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ jobs:

test-javascript:
name: "JavaScript Tests"
runs-on: "${{ matrix.os }}"
runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
- [ "self-hosted", "Linux", "ARM64" ]
- [ "self-hosted", "Linux", "X64" ]

steps:
- name: "Checkout"
Expand All @@ -34,7 +36,9 @@ jobs:

- name: "Cache Dependencies"
id: cache
uses: actions/cache@v3
uses: actions/cache@8070854e57d983bdd2887b0a708ad985f77398ab
env:
GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION: node20
with:
key: npm-${{ matrix.os }}-${{ hashFiles('package-lock.json') }}
path: ./node_modules
Expand All @@ -59,13 +63,15 @@ jobs:

test-minimal-action:
name: "Minimal - Github Action Test"
runs-on: "${{ matrix.os }}"
runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
- [ "self-hosted", "Linux", "ARM64" ]
- [ "self-hosted", "Linux", "X64" ]
# TODO: test with different flox versions
#flox-version:
# - stable
Expand All @@ -91,13 +97,15 @@ jobs:

test-all-action:
name: "All - Github Action Test"
runs-on: "${{ matrix.os }}"
runs-on: ${{ matrix.os }}

strategy:
matrix:
os:
- "ubuntu-latest"
- "macos-latest"
- [ "self-hosted", "Linux", "ARM64" ]
- [ "self-hosted", "Linux", "X64" ]
# TODO: test with different flox versions
#flox-version:
# - stable
Expand Down