-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [OSM-612] Fix broken tests, restructure internal logic (#219)
* chore: adding stale PR checker * fix: pinning urllib3 to workspace fixtures to avoid platform flakes * fix: removing not needed tap setup, updating test utils * feat: removed all tap tests, ported to jest * feat: removing tap from packages.json * feat: master -> main * feat: replaced circleci system tests with a Dockerfile for easier local replication * feat: removing support for EOLed libraries, re-wrote the test framework substantially BREAKING CHANGE: We now will not support EOL'ed versions of Python, NodeJs nor Pip. * chore: updating circleci config * chore: fixing typos * fix: partial depgraph comparisons * chore: python->python3 for local test setup' * fix: dropping setup.py test that was already done someplace else * chore: lint * chore: Node 14, 18
- Loading branch information
Showing
25 changed files
with
441 additions
and
1,742 deletions.
There are no files selected for viewing
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,13 @@ | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Every day at midnight | ||
workflow_dispatch: | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v7 | ||
with: | ||
stale-pr-message: "Your PR has not had any activity for 60 days. In 7 days I'll close it. Make some activity to remove this." | ||
close-pr-message: "Your PR has now been stale for 7 days. I'm closing it." |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
build: off | ||
branches: | ||
only: | ||
- master | ||
- main | ||
|
||
init: | ||
- git config --global core.autocrlf true | ||
|
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,32 @@ | ||
ARG NODE_VERSION | ||
FROM node:${NODE_VERSION} | ||
|
||
ARG DEVUSER=node | ||
USER ${DEVUSER} | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
WORKDIR /home/${DEVUSER} | ||
|
||
ARG PYTHON_VERSION | ||
ENV PYTHON_VERSION $PYTHON_VERSION | ||
|
||
RUN set -ex \ | ||
&& curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash \ | ||
&& export PATH="$HOME/.pyenv/bin:$PATH" \ | ||
&& pyenv update \ | ||
&& pyenv install $PYTHON_VERSION \ | ||
&& pyenv global $PYTHON_VERSION \ | ||
&& pyenv rehash | ||
|
||
ENV PATH="/home/${DEVUSER}/.pyenv/shims:${PATH}" | ||
RUN python --version | ||
|
||
COPY --chown=${DEVUSER}:${DEVUSER} . ./ | ||
|
||
RUN npm install | ||
|
||
ENV PATH="/home/${DEVUSER}/.local/bin:${PATH}" | ||
RUN python -m pip install --user --quiet -r dev-requirements.txt --disable-pip-version-check | ||
|
||
CMD ["npm", "run", "test", "--", "--runInBand"] |
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
Oops, something went wrong.