File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Integration Tests
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ max-parallel : 4
10+ matrix :
11+ python-version : ['3.8', '3.9', '3.10', '3.11']
12+
13+ env :
14+ PORT : 8080
15+ steps :
16+ - name : " Checkout"
17+ uses : " actions/checkout@v4"
18+ - name : Run Dataverse Action
19+ id : dataverse
20+ uses : gdcc/dataverse-action@main
21+ - name : Set up Python ${{ matrix.python-version }}
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : ${{ matrix.python-version }}
25+ - name : Install dependencies
26+ run : |
27+ python3 -m pip install --upgrade pip
28+ python3 -m pip install poetry
29+ pip3 install -e .[test]
30+ - name : Test with pytest
31+ env :
32+ API_TOKEN : ${{ steps.dataverse.outputs.api_token }}
33+ BASE_URL : ${{ steps.dataverse.outputs.base_url }}
34+ DVUPLOADER_TESTING : " true"
35+ run : |
36+ python3 -m poetry run pytest
You can’t perform that action at this time.
0 commit comments