Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 274cda5

Browse files
author
Charlie
committed
.
1 parent 1e19cc6 commit 274cda5

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

CargoHub/.github/workflows/django.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Django CI
2+
3+
on:
4+
push:
5+
branches: [ "Refactoring" ]
6+
pull_request:
7+
branches: [ "Refactoring" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
max-parallel: 4
15+
matrix:
16+
python-version: [3.7, 3.8, 3.9]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v3
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
- name: Install Dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
28+
- name: Run Tests
29+
run: |
30+
python manage.py test

CargoHub/.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Python application
55

66
on:
77
push:
8-
branches: [ "Refactoring" ]
8+
branches: [ "main" ]
99

1010
jobs:
1111
build:

0 commit comments

Comments
 (0)