mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-02-06 06:53:31 +00:00
Parallelize build
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
python -m pip install --upgrade pip wheel
|
||||
python -m pip install -r requirements.txt
|
||||
- name: Build
|
||||
run: make
|
||||
run: make -j3
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@4.0.0
|
||||
with:
|
||||
|
||||
20
Makefile
20
Makefile
@@ -1,13 +1,23 @@
|
||||
.PHONY: data/results.xlsx data/results.tsv
|
||||
|
||||
out: all-data
|
||||
python massage_templates.py
|
||||
python copy_massaged_data.py
|
||||
python generate_charts.py
|
||||
python generate_profiling.py
|
||||
out: all-data copy-raw-data copy-massaged-data static charts profiling
|
||||
|
||||
copy-raw-data: all-data
|
||||
cp data/results.xlsx out/raw.xlsx
|
||||
cp data/results.tsv out/raw.tsv
|
||||
|
||||
copy-massaged-data: all-data
|
||||
python copy_massaged_data.py
|
||||
|
||||
static: all-data
|
||||
python massage_templates.py
|
||||
|
||||
charts: all-data
|
||||
python generate_charts.py
|
||||
|
||||
profiling: all-data
|
||||
python generate_profiling.py
|
||||
|
||||
all-data: data/results.xlsx data/results.tsv
|
||||
|
||||
data/results.xlsx:
|
||||
|
||||
Reference in New Issue
Block a user