Skip to content

Commit 24c1de7

Browse files
committed
tests: Add tests for source download urls
1 parent 07d570b commit 24c1de7

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/test-urls.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "Source download URLs status"
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
check-urls:
9+
name: "Check the status of source URLs"
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
shell: bash
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.10'
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
28+
python --version
29+
pip --version
30+
31+
pip install -r requirements-test.txt
32+
33+
- name: Run tests
34+
run: |
35+
python ./scripts/test_urls.py

requirements-test.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests

0 commit comments

Comments
 (0)