-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap To GitHub Actions Running Tests (#273)
* switch tests to Github Actions * fix async rules as our website has changed * use covector release branch * build before test * grab cert through mkcert * use mkcert permalink * rename directly * debug * use local bin * trailing slash * home env var * /usr/local/bin with /Users/jacobbolda * runner.home * try env.HOME * env in command, hardcoded for workdir * composite action * bash that shell * skip ldap * back to doctype? * urls return differently
- Loading branch information
Showing
10 changed files
with
161 additions
and
150 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Install SSL Certificate" | ||
description: "Greet someone" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: wget https://dl.filippo.io/mkcert/latest?for=linux/amd64 -O mkcert | ||
shell: bash | ||
- run: chmod +x mkcert | ||
shell: bash | ||
- run: cp mkcert /usr/local/bin | ||
shell: bash | ||
- run: mkdir -p $HOME/.simulacrum/certs | ||
shell: bash | ||
- run: export NODE_EXTRA_CA_CERTS="$(mkcert -CAROOT)/rootCA.pem" | ||
shell: bash | ||
- run: mkcert -install && mkcert localhost | ||
working-directory: /home/runner/.simulacrum/certs | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Test | ||
|
||
on: push | ||
|
||
jobs: | ||
run-tests: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: volta-cli/action@v4 | ||
- name: Install TLS Certificate | ||
uses: ./.github/actions/install-cert | ||
|
||
- name: Install Node.js dependencies | ||
run: npm ci | ||
|
||
- run: npm run build | ||
- run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.