-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 984 Bytes
/
tests.yml
File metadata and controls
41 lines (39 loc) · 984 Bytes
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
38
39
40
41
name: Tests
on:
push:
branches:
- main
- develop
- trunk-merge/**
pull_request:
branches:
- main
- develop
- trunk-merge/**
jobs:
install:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.7, 3.11]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install cript manually
run: |
git clone https://github.com/C-Accel-CRIPT/Python-SDK
cd Python-SDK
python3 -m pip install .
cd ..
rm -r Python-SDK
- name: Install via Pip
run: python3 -m pip install .
- name: Check installation
run: |
python3 -m pip install -r tests/requirements.txt
export CRIPT_TOKEN="125433546"
export CRIPT_STORAGE_TOKEN="125433546"
export CRIPT_HOST="http://development.api.mycriptapp.org/"
python3 -m pytest