-
Notifications
You must be signed in to change notification settings - Fork 26
38 lines (35 loc) · 1.07 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on: [push, pull_request]
permissions:
contents: read
jobs:
ci:
if: ${{ github.actor != 'panther-bot-automation' }}
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
ipinfo.io:443
pypi.org:443
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
with:
python-version: 3.11
- name: Install pipenv
run: make install-pipenv
- name: Setup Virtual Environment
run: make venv
- name: Install Core Utilities
run: make install
- name: Install Dependencies
run: make deps
- name: Install Panther CLI
run: pipenv run -- pip3 install -e .
- name: Run CLI Tests
run: make ci