-
Notifications
You must be signed in to change notification settings - Fork 21
40 lines (36 loc) · 957 Bytes
/
testing_package.yml
File metadata and controls
40 lines (36 loc) · 957 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
name: Bunka Code Checking
on:
push:
branches: ["dev", "main"]
pull_request:
branches: ["dev", "main"]
permissions:
contents: read
jobs:
build:
#runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
#os: [ubuntu-latest]
python-version: ["3.9", "3.10"]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v2 #V4
- name: Set up python
uses: actions/setup-python@v5 #V5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Check Flake8
run: |
pip install flake8
python -m flake8 bunkatopics
- name: Running code testing
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: make check