-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathaction.yml
30 lines (30 loc) · 852 Bytes
/
action.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
name: "Django Test CI"
description: "A github action to run your django tests"
branding:
icon: check-circle
color: green
inputs:
settings-dir-path:
description: "The path of the directory containing the settings file(Without `./`)"
required: true
parallel-tests:
description: "Run tests in parallel"
default: false
required: false
requirements-file:
description: "The path of dependancy file, typically requirements.txt"
default: "requirements.txt"
required: false
env-file:
description: "The path of an env file, if you require environment variables"
default: ""
required: false
runs-on: ubuntu-latest
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.settings-dir-path }}
- ${{ inputs.parallel-tests }}
- ${{ inputs.requirements-file }}
- ${{ inputs.env-file }}