Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
actual-vt-capstone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danieljk
actual-vt-capstone
Commits
c40b5e4d
Commit
c40b5e4d
authored
2 years ago
by
Tom French
Browse files
Options
Downloads
Patches
Plain Diff
ci: run tests on github actions
parent
973868c6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.circleci/config.yml
+0
-121
0 additions, 121 deletions
.circleci/config.yml
.github/workflows/test.yml
+18
-0
18 additions, 0 deletions
.github/workflows/test.yml
with
18 additions
and
121 deletions
.circleci/config.yml
deleted
100644 → 0
+
0
−
121
View file @
973868c6
default_config
:
&default_config
environment
:
SENTRY_ORG
:
shift-reset-llc
SENTRY_PROJECT
:
actual
YARN_CACHE_FOLDER
:
~/.cache/yarn
CSC_LINK
:
~/windows-shift-reset-llc.p12
cached_files
:
&cached_files
paths
:
-
~/.cache/yarn
-
node_modules
-
./packages/desktop-electron/node_modules
-
./packages/loot-core/node_modules
-
./mobile/node_modules
-
./import-ynab4/node_modules
-
./api/node_modules
-
./node-libofx/node_modules
-
./loot-design/node_modules
-
./desktop-client/node_modules
key
:
v3-dependencies-{{ checksum "yarn.lock" }}
version_tag_only
:
&version_tag_only
filters
:
branches
:
ignore
:
/.*/
tags
:
only
:
/^\d+\.\d+\.\d+$/
version
:
2.1
orbs
:
win
:
circleci/windows@2.2.0
jobs
:
test
:
<<
:
*default_config
docker
:
-
image
:
circleci/node:16.15.0
working_directory
:
~/repo
steps
:
-
checkout
-
restore_cache
:
keys
:
-
v3-dependencies-{{ checksum "yarn.lock" }}
-
run
:
yarn install --immutable
-
save_cache
:
<<
:
*cached_files
-
run
:
yarn test
build_windows
:
<<
:
*default_config
executor
:
name
:
win/default
working_directory
:
~/repo
steps
:
-
checkout
-
run
:
command
:
npm install -g @sentry/cli --unsafe-perm
shell
:
bash
-
run
:
command
:
echo $WINDOWS_CERT | base64 --decode >> ${HOME}/windows-shift-reset-llc.p12
shell
:
bash
-
run
:
command
:
yarn install --immutable
shell
:
bash
-
run
:
command
:
./bin/package --release --version ${CIRCLE_TAG}
shell
:
bash
build_linux
:
<<
:
*default_config
docker
:
-
image
:
circleci/node:16.15.0
working_directory
:
~/repo
steps
:
-
checkout
-
restore_cache
:
keys
:
-
v3-dependencies-{{ checksum "yarn.lock" }}
-
run
:
yarn install --immutable
-
run
:
sudo npm install -g @sentry/cli --unsafe-perm
-
run
:
./bin/package --release --version ${CIRCLE_TAG}
workflows
:
version
:
2
test
:
jobs
:
-
test
build_version
:
jobs
:
-
test
:
<<
:
*version_tag_only
-
build_windows
:
<<
:
*version_tag_only
requires
:
-
test
-
build_linux
:
<<
:
*version_tag_only
requires
:
-
test
This diff is collapsed.
Click to expand it.
.github/workflows/test.yml
0 → 100644
+
18
−
0
View file @
c40b5e4d
name
:
Test
on
:
push
:
branches
:
-
master
pull_request
:
branches
:
'
*'
jobs
:
test
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up environment
uses
:
./.github/actions/setup
-
name
:
Test
run
:
yarn test
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment