File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66
7+ # When this workflow is queued, automatically cancel any previous running
8+ # or pending jobs from the same branch
9+ concurrency :
10+ group : conda-${{ github.ref }}
11+ cancel-in-progress : true
12+
713jobs :
814 build :
15+
916 runs-on : ubuntu-latest
17+
1018 strategy :
1119 matrix :
1220 python-version : ["3.10"]
21+
1322 steps :
23+
1424 - uses : actions/checkout@v4
25+
1526 - name : Set up Python ${{ matrix.python-version }}
1627 uses : actions/setup-python@v3
1728 with :
1829 python-version : ${{ matrix.python-version }}
30+
1931 - name : Install dependencies
2032 run : |
2133 python -m pip install -r requirements.txt
34+
2235 - name : Test with pytest
2336 run : |
2437 python -m pytest --cov=x2s3 --cov-report=html --cov-report=term -W ignore::DeprecationWarning --html=htmlcov/test_results.html
38+
2539 - name : Upload pytest and coverage results
2640 uses : actions/upload-artifact@v4
2741 if : always()
You can’t perform that action at this time.
0 commit comments