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

First attempt to setup GitHub actions #345

Merged
merged 42 commits into from
Sep 10, 2020
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
56e500b
First attempt to setup GitHub actions
krassowski Sep 8, 2020
1637ad1
Less templates
krassowski Sep 8, 2020
caec4c7
Remove old files
krassowski Sep 8, 2020
63fb4d4
Use miniconda and install mamba
krassowski Sep 8, 2020
71698aa
Add event for test, fix syntax for lint
krassowski Sep 8, 2020
7ba96d3
Strategy belongs to job, defaults can be global
krassowski Sep 8, 2020
b570109
Rename workflows
krassowski Sep 8, 2020
1c2700b
Fix some syntax issues/leftovers
krassowski Sep 8, 2020
3bdc932
It's channels..
krassowski Sep 8, 2020
5546f9e
Try without templating env
krassowski Sep 8, 2020
5ee904e
Remove incorrect ==
krassowski Sep 8, 2020
cfa0902
Install later
krassowski Sep 8, 2020
a4e9e2b
Split install?
krassowski Sep 9, 2020
75ce652
Best command is no command
krassowski Sep 9, 2020
aea05fb
Debug and cleanup
krassowski Sep 9, 2020
f3e64d8
Checkout self
krassowski Sep 9, 2020
7c473f9
Wrong uses
krassowski Sep 9, 2020
b29416f
Remove mamba as it fails on win
krassowski Sep 9, 2020
3e8276f
Try with substitution
krassowski Sep 9, 2020
24d26a3
Use envsubst-action
krassowski Sep 9, 2020
3ddfb89
Correct version, rename file
krassowski Sep 9, 2020
d79a817
Correct to lab
krassowski Sep 9, 2020
d9c44f5
Try with cschleiden/replace-tokens
krassowski Sep 9, 2020
832420e
Update integrity test, clean up
krassowski Sep 9, 2020
67f437f
Try with GitHub reporters
krassowski Sep 9, 2020
00f348e
Fix variables, lint
krassowski Sep 9, 2020
e4a63ca
The vars are from env
krassowski Sep 9, 2020
cc42bc2
Add node in name, fix version substitution
krassowski Sep 9, 2020
7f96f63
Shorten name
krassowski Sep 9, 2020
31ca314
add bs4 to attempt windows utf-8 reading
bollwyvl Sep 5, 2020
b6d2a75
Add yarn and conda cache for the test workflow
krassowski Sep 9, 2020
bb19f8c
fix typo
bollwyvl Sep 8, 2020
2ecd1b7
linting
bollwyvl Sep 8, 2020
3364e08
Try to add jedi cache
krassowski Sep 9, 2020
bf30576
Try to reduce the job matrix (too many jobs as for our needs)
krassowski Sep 9, 2020
5265842
Try caching tectonic, rename, swap badge
krassowski Sep 9, 2020
2196f05
Do not remove the jedi cache on warm up
krassowski Sep 9, 2020
ef1a648
Remove unused shutil
krassowski Sep 9, 2020
13b8251
Attempt to publish Robot artifacts
krassowski Sep 10, 2020
a8c4d90
Remove nodejs spec from robot artifact name for now as it contains fo…
krassowski Sep 10, 2020
0547ea5
Limit lint to master too
krassowski Sep 10, 2020
b45a4b9
Try to test with Node 14 instead of 13
krassowski Sep 10, 2020
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
29 changes: 26 additions & 3 deletions .github/workflows/job.test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Acceptance tests
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master

defaults:
run:
@@ -13,8 +19,6 @@ env:

PYTHONUNBUFFERED: 1
ATEST_RETRIES: 3
# TODO
# YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn

LINKED_EXTENSIONS: >-
packages/lsp-ws-connection
@@ -46,6 +50,15 @@ jobs:
lab: '${{ matrix.lab }}'
nodejs: '${{ matrix.nodejs }}'

- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if requirements/github-actions.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key: ${{ matrix.os }}-${{ matrix.python }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('requirements/github-actions.yml') }}

- name: Set up Python and conda
uses: goanpeca/setup-miniconda@v1
with:
@@ -56,6 +69,7 @@ jobs:
activate-environment: jupyterlab-lsp
environment-file: requirements/github-actions.yml
auto-update-conda: true
use-only-tar-bz2: true # needs to be set for caching to work properly

- name: Install pip dependencies
run: pip install pytest-github-actions-annotate-failures
@@ -69,6 +83,15 @@ jobs:
conda config --show
printenv | sort
- name: Cache yarn
uses: actions/cache@v1
with:
path: .yarn-packages
key: yarn-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-${{ runner.os }}-
yarn-
- name: Install npm dependencies
run: jlpm
krassowski marked this conversation as resolved.
Show resolved Hide resolved