forked from Kav-K/GPTDiscord
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (25 loc) · 858 Bytes
/
build.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
name: Build CI
on: [push, pull_request]
jobs:
build:
name: Running python ${{ matrix.python-version }} on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10"]
os: [macOS-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Print Python Version
run: python --version --version && which python
- name: Update pip, setuptools + wheels
run: |
python -m pip install --upgrade pip setuptools wheel
- name: Install deps via requirements + module via pyproject.toml
run: |
python -m pip install -r requirements.txt
python -m pip install .