forked from C-Accel-Project-Old-Version/old-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 917 Bytes
/
Copy pathtests.yml
File metadata and controls
38 lines (35 loc) · 917 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
name: Tests
on:
push:
branches:
- main
- develop
- trunk-merge/**
pull_request:
branches:
- main
- develop
- "*"
jobs:
install:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install via Pip
run: python3 -m pip install .
- name: Check installation
run: |
export CRIPT_TOKEN="125433546"
export CRIPT_HOST="http://development.api.mycriptapp.org/"
python3 -m pip install pytest
python3 -m pip install -r requirements.txt
python3 -c "import cript"
export CRIPT_TOKEN="125433546"
export CRIPT_HOST="http://development.api.mycriptapp.org/"
python3 -m pytest