-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from SEL-Columbia/0.3.9-dev
update, fix portier error, fix security probs
- Loading branch information
Showing
17 changed files
with
2,064 additions
and
4,092 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "presets": [ "es2015" ] } | ||
{ "presets": [ "@babel/preset-env" ] } |
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,58 @@ | ||
name: full minigrid tests | ||
|
||
on: [push] | ||
|
||
jobs: | ||
|
||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# downloads a copy of the code in your repository before running CI tests | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
# setup latest firefox version | ||
- name: Setup latest firefox | ||
uses: browser-actions/setup-firefox@latest | ||
# setup database | ||
- name: Install postgresql | ||
run: | | ||
sudo apt-get install postgresql-13 libpq-dev | ||
sudo service postgresql start | ||
pg_isready | ||
- name: Change from peer to md5 authentication | ||
run: | | ||
sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/13/main/pg_hba.conf | ||
sudo service postgresql@13-main restart | ||
- name: create the minigrid database | ||
run: | | ||
psql -U postgres -c 'create database minigrid;' | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install python dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r dev/requirements.txt | ||
pip install -r requirements.txt | ||
pip install coveralls | ||
- name: Set up Node 14 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- name: Install node dependencies | ||
run: | | ||
npm install | ||
node node_modules/webpack/bin/webpack.js --mode=production | ||
- name: Analysing the code with flake8 | ||
run: | | ||
flake8 . | ||
- name: Analysing the code with pydocstyle | ||
run: | | ||
python3 -m pydocstyle . | ||
- name: install xvfb | ||
run: sudo apt-get install xvfb | ||
- name: run xvfb for python tests | ||
run: xvfb-run --server-args="-screen 0, 1280x1280x16" tests/python/coverage_run.sh |
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
codecov==2.0.22 | ||
fakeredis==1.4.0 | ||
flake8==3.7.9 | ||
pyflakes==2.1.1 # temporary requirement to make flake8 happy | ||
pydocstyle==5.0.2 | ||
coverage==5.0.4 | ||
beautifulsoup4==4.9.0 | ||
codecov==2.1.12 | ||
fakeredis==1.5.2 | ||
flake8==3.9.2 | ||
pyflakes==2.3.1 # temporary requirement to make flake8 happy | ||
pydocstyle==6.1.1 | ||
coverage==5.5 | ||
beautifulsoup4==4.9.3 | ||
selenium==3.141.0 |
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.