JacobLinCool commited on
Commit
979555c
·
1 Parent(s): 9f522a5

ci: add test

Browse files

Former-commit-id: 6dbb6eef4a5d4caf288a75cb537b3e6f868fea65

Files changed (1) hide show
  1. .github/workflows/test.yml +38 -0
.github/workflows/test.yml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ test:
11
+ name: Test
12
+ runs-on: ubuntu-latest
13
+ timeout-minutes: 30
14
+ steps:
15
+ - name: Checkout Repo
16
+ uses: actions/checkout@v3
17
+
18
+ # - name: Install Blender
19
+ # run: |
20
+ # sudo apt-get update
21
+ # sudo apt-get install blender
22
+
23
+ - name: Setup Python 3.10
24
+ uses: actions/setup-python@v4
25
+ with:
26
+ python-version: "3.10"
27
+
28
+ - name: Install Poetry
29
+ uses: Gr1N/setup-poetry@v8
30
+
31
+ - name: Use Python 3.10
32
+ run: poetry env use 3.10
33
+
34
+ - name: Install Dependencies
35
+ run: poetry install
36
+
37
+ - name: Run
38
+ run: python create.py examples/LogosGithubIcon.svg