File tree Expand file tree Collapse file tree 6 files changed +98
-17
lines changed
Expand file tree Collapse file tree 6 files changed +98
-17
lines changed Original file line number Diff line number Diff line change 1+ name : Docker
2+
3+ on :
4+ push :
5+ branches :
6+ - develop
7+ - master
8+
9+ # Run tests for any PRs.
10+ pull_request :
11+ branches :
12+ - develop
13+ - master
14+
15+ env :
16+ IMAGE_NAME : packet
17+
18+ jobs :
19+ test :
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - uses : actions/checkout@v2
24+
25+ - name : Run tests
26+ run : |
27+ if [ -f docker-compose.test.yml ]; then
28+ docker-compose --file docker-compose.test.yml build
29+ docker-compose --file docker-compose.test.yml run sut
30+ else
31+ docker build . --file Dockerfile
32+ fi
Original file line number Diff line number Diff line change 1+ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+ name : Node.js CI
5+
6+ on :
7+ push :
8+ branches : [develop, master]
9+ pull_request :
10+ branches : [develop, master]
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ node-version : [10.x, 12.x, 14.x]
19+
20+ steps :
21+ - uses : actions/checkout@v2
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v1
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+ - run : yarn install
27+ - run : yarn prod
Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+ name : Python application
5+
6+ on :
7+ push :
8+ branches : [master, develop]
9+ pull_request :
10+ branches : [master, develop]
11+
12+ jobs :
13+ lint :
14+ runs-on : ubuntu-latest
15+
16+ strategy :
17+ matrix :
18+ python-version : [3.7, 3.8]
19+
20+ steps :
21+ - name : Install ldap dependencies
22+ run : sudo apt-get install libldap2-dev libsasl2-dev
23+ - uses : actions/checkout@v2
24+ - name : Set up Python ${{ matrix.python-version }}
25+ uses : actions/setup-python@v2
26+ with :
27+ python-version : ${{ matrix.python-version }}
28+ - name : Install dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+ - name : Lint with pylint
33+ run : |
34+ pylint packet
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM python:3.7-slim-buster
22MAINTAINER Devin Matte <
[email protected] >
33
44RUN apt-get -yq update && \
5- apt-get -yq --no-install-recommends install gcc curl libsasl2-dev libldap2-dev libssl-dev && \
5+ apt-get -yq --no-install-recommends install gcc curl libsasl2-dev libldap2-dev libssl-dev gnupg2 && \
66 apt-get -yq clean all
77
88RUN mkdir /opt/packet
Original file line number Diff line number Diff line change 1313 " Joel Eager (https://github.com/JoelEager)" ,
1414 " Max Meinhold (https://github.com/mxmeinhold)"
1515 ],
16+ "scripts" : {
17+ "prod" : " gulp production" ,
18+ "lint" : " gulp lint"
19+ },
1620 "repository" : {
1721 "type" : " git" ,
1822 "url" : " https://github.com/ComputerScienceHouse/packet.git"
You can’t perform that action at this time.
0 commit comments