Commit Graph

151 Commits

Author SHA1 Message Date
evandrocoan
716989135c Renamed linux_checks.yml to checks.yml 2020-03-24 22:28:46 -03:00
evandrocoan
bcda7ecc29 Fixed bash call by bash using other bashes on the system PATH 2020-03-24 22:28:46 -03:00
evandrocoan
18aec3c713 Re-enabled the mac_checks.yml after fixing the rate limit issue 2020-03-24 22:28:46 -03:00
evandrocoan
136cd4da7c Fixed not all rust libraries being cached 2020-03-24 22:28:46 -03:00
Damien Elmes
beee1f10e0 possible CI fix 2020-03-25 09:45:50 +10:00
Damien Elmes
d5cbd78798 use forked proto action 2020-03-24 15:50:40 +10:00
evandrocoan
131aee1a82 Appended a number by default on every cache key to easily force
its regeneration by hand.
2020-03-24 00:31:50 -03:00
evandrocoan
508f8df47f Fixed pyaudio and rename not being setup when pacman cache is used 2020-03-24 00:31:50 -03:00
evandrocoan
cfbd7ba108 Added the develop rule to run first and install things
before running tests and the build to properly measure the total
time of each stage.
2020-03-24 00:31:50 -03:00
evandrocoan
19dab43aae Moved the cache actions to the top of the file 2020-03-24 00:31:50 -03:00
evandrocoan
8e43016248 Renamed the mac_checks.yml until it get fixed 2020-03-24 00:31:50 -03:00
evandrocoan
4ff6e35a2c Cache pacman package manager and upload python wheels 2020-03-24 00:31:50 -03:00
evandrocoan
f908566252 Created .github/workflows/mac_checks.yml 2020-03-24 00:31:46 -03:00
evandrocoan
b5a1cf3a14 Cache rust libraries 2020-03-23 19:51:23 -03:00
evandrocoan
20c9837770 Created the .github/workflows/windows.yml
# Conflicts:
#	.github/scripts/trailing-newlines.sh
#	Makefile
#	qt/tools/typecheck-setup.sh
#	react/Makefile
#	rspy/Makefile
#	svelte/Makefile
#	tslib/Makefile
2020-03-23 19:51:03 -03:00
evandrocoan
b1b3e5b87c Merge remote-tracking branch 'danielelmes/master' into fix_tests_on_windows
# Conflicts:
#	.github/scripts/trailing-newlines.sh
2020-03-23 18:44:11 -03:00
Damien Elmes
1f8a1126a4 don't require trailing whitespace in .sql files 2020-03-21 07:49:44 +10:00
evandrocoan
1ade1a1a0f Fixed moved comment line on qt/aqt/main.py, long variables names on
pylib/Makefile and qt/Makefile, and rg --version not going to /dev/null
on .github/scripts/trailing-newlines.sh
2020-03-18 11:36:50 -03:00
evandrocoan
d6f900647b Fixed trailing-newlines.sh not failing when rg is not installed 2020-03-17 19:48:15 -03:00
Damien Elmes
2ed7e3d1cd ignore .json files 2020-03-14 19:36:03 +10:00
Damien Elmes
4465d65bd5 add required --classic 2020-03-09 19:25:03 +10:00
Damien Elmes
c428541e06 sudo required 2020-03-09 19:22:15 +10:00
Damien Elmes
aedb2d0d4a try the ripgrep snap 2020-03-09 19:09:13 +10:00
Damien Elmes
5724c18ec1 install ripgrep in CI 2020-03-09 19:02:36 +10:00
Damien Elmes
1bde8d72bb check for files without a final newline 2020-03-09 18:57:55 +10:00
Damien Elmes
5ea8a59139 match Alan's patch 2020-02-27 12:52:00 +10:00
Damien Elmes
34fcbf6af8 pipefail requires removing -q
https://github.com/ankitects/anki/pull/464#discussion_r384485166
2020-02-27 12:50:11 +10:00
evandrocoan
47ccd6638d Added -o pipefail to all set -e ensuring the build fails when some
operation with pipe exits error status.

# Conflicts:
#	Makefile
2020-02-24 20:18:56 -03:00
Damien Elmes
95404ed2d7 test possible CI speed-up 2020-02-24 21:23:51 +10:00
Damien Elmes
5827535a65 update before apt install to fix CI 2020-02-05 17:47:16 +10:00
Damien Elmes
b821209f83 case insensitive contributor compare
https://github.com/ankitects/anki/pull/428
2020-01-24 17:27:43 +10:00
Damien Elmes
c6d0425020 basic anti spam protection 2020-01-15 20:34:10 +10:00
Erez Volk
bd9aaa9296 Small fixes and tweaks to "Tag Modified":
- No need for the checkbox, as an unchecked box is equal to an empty
`QLineEdit`.
- The value was saved to the profile but not loaded.
- And the real pièce de résistance: I've figured out how to "Promote"
the `QLineEdit` to a `TagEdit`.

Hope you like it! :)
2020-01-15 10:46:05 +02:00
Damien Elmes
4fc6184f80 remove stray character 2020-01-07 18:44:44 +10:00
Damien Elmes
8b94d69abc bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
Damien Elmes
a684ac120f run contrib check on push as well
Which should ensure I notice when I've forgotten to change my email
back after testing the script :-)
2020-01-07 10:14:01 +10:00
Damien Elmes
e9773fb461 need full checkout to get contribs history 2020-01-06 19:27:17 +10:00
Damien Elmes
a4d37e4014 split contrib check into separate file 2020-01-06 15:37:21 +10:00
Damien Elmes
1c1fbde733 move top level scripts into makefile 2020-01-04 12:21:58 +10:00
Damien Elmes
2cdac1d2f4 check contributors automatically 2020-01-04 08:04:22 +10:00
Damien Elmes
de36c893bf CI fixes 2020-01-03 16:37:43 +10:00
Damien Elmes
1d361f5fe4 add missing gettext dependency 2020-01-02 20:52:12 +10:00
Damien Elmes
b23b6fbe35 move the separate components back into this monorepo
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.

The README files need updating again; I will push them out soon.

Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00
Damien Elmes
7f71380314 fix for isort failing to install in CI 2019-12-25 12:13:28 +10:00
Damien Elmes
b681c7aad3 add protoc to github actions 2019-12-25 10:26:16 +10:00
Damien Elmes
079657893c speed up CI build 2019-12-24 19:57:54 +10:00
Damien Elmes
1ecb6f4434 venv fix for github 2019-12-24 19:57:54 +10:00
Damien Elmes
ed6f58080b rename workflow file 2019-12-24 19:57:54 +10:00
Damien Elmes
30f5a82d35 drop pytype from CI checks
less useful as more type hints are added
2019-12-23 08:40:37 +10:00
Damien Elmes
59ec442317 add pull_request to github actions 2019-12-22 18:39:14 +10:00
Damien Elmes
e2feb89f47 switch to GitHub workflows for CI
Also drop -j from Make, as it saves little time and makes errors
harder to read.
2019-12-22 12:15:18 +10:00