File tree Expand file tree Collapse file tree 3 files changed +19
-13
lines changed
Expand file tree Collapse file tree 3 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 1+ .DS_Store
2+ .ruff_cache /
3+ .coverage
4+ accounts /
5+ results-raw /
6+ results-parsed /
7+ accounts.db *
8+ data /
9+ data_media /
10+ dist /
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
15- python-version : ["3.10", "3.11", "3.12"]
15+ python-version : ["3.10", "3.11", "3.12", "3.13" ]
1616 steps :
1717 - uses : actions/checkout@v4
1818 - uses : actions/setup-python@v5
@@ -22,18 +22,15 @@ jobs:
2222 - name : install dependencies
2323 run : pip install -e .[dev]
2424
25- - name : lint
26- run : make lint
27-
28- - name : test
29- run : make test
25+ - run : make lint
26+ - run : make test
3027
3128 release :
29+ if : ${{ startsWith(github.ref, 'refs/tags/v') }}
3230 runs-on : ubuntu-latest
31+ needs : test
3332 permissions :
3433 contents : write
35- if : ${{ startsWith(github.ref, 'refs/tags/v') }}
36- needs : test
3734 steps :
3835 - uses : actions/checkout@v4
3936 - uses : actions/setup-python@v5
Original file line number Diff line number Diff line change 66 pip install -e .[dev]
77 python -m build
88
9+ build :
10+ python -m build --sdist --wheel --outdir dist/ .
11+
912lint :
1013 @# https://docs.astral.sh/ruff/settings/#sorting-imports
1114 @ruff check --select I --fix .
@@ -39,7 +42,7 @@ test-py-matrix:
3942 @make test-py v=3.10
4043 @make test-py v=3.11
4144 @make test-py v=3.12
42- @make test-py v=3.13-rc
45+ @make test-py v=3.13
4346
4447test-sq-matrix :
4548 @# https://www.sqlite.org/chronology.html
@@ -70,7 +73,3 @@ update-mocks:
7073 twscrape list_timeline --raw --limit 10 1494877848087187461 | jq > ./tests/mocked-data/raw_list_timeline.json
7174 @# twscrape favoriters --raw --limit 10 1649191520250245121 | jq > ./tests/mocked-data/raw_favoriters.json
7275 @# twscrape liked_tweets --raw --limit 10 2244994945 | jq > ./tests/mocked-data/raw_likes.json
73-
74- x :
75- twscrape tweet_details --raw 1790441814857826439 | jq > ./tests/mocked-data/card_broadcast.json
76- twscrape tweet_details --raw 1789054061729173804 | jq > ./tests/mocked-data/card_audiospace.json
You can’t perform that action at this time.
0 commit comments