|
1 | | -name: ASE integration |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: [main] |
6 | | - pull_request: |
7 | | - # Check all PR |
8 | | - |
9 | | -concurrency: |
10 | | - group: ase-tests-${{ github.ref }} |
11 | | - cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} |
12 | | - |
13 | | -jobs: |
14 | | - tests: |
15 | | - runs-on: ubuntu-24.04 |
16 | | - name: tests |
17 | | - steps: |
18 | | - - uses: actions/checkout@v6 |
19 | | - with: |
20 | | - fetch-depth: 0 |
21 | | - |
22 | | - - name: setup Python |
23 | | - uses: actions/setup-python@v6 |
24 | | - with: |
25 | | - python-version: "3.13" |
26 | | - |
27 | | - - name: Setup sccache |
28 | | - uses: mozilla-actions/sccache-action@v0.0.10 |
29 | | - with: |
30 | | - version: "v0.10.0" |
31 | | - |
32 | | - - name: Setup sccache environnement variables |
33 | | - run: | |
34 | | - echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV |
35 | | - echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV |
36 | | - echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV |
37 | | - echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV |
38 | | -
|
39 | | - - name: install tests dependencies |
40 | | - run: | |
41 | | - python -m pip install --upgrade pip |
42 | | - python -m pip install tox coverage |
43 | | -
|
44 | | - - name: run tests |
45 | | - run: tox -e ase-tests |
46 | | - env: |
47 | | - PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu |
48 | | - |
49 | | - - name: combine Python coverage files |
50 | | - shell: bash |
51 | | - run: | |
52 | | - coverage combine .tox/*/.coverage |
53 | | - coverage xml |
54 | | -
|
55 | | - - name: upload to codecov.io |
56 | | - uses: codecov/codecov-action@v6 |
57 | | - with: |
58 | | - fail_ci_if_error: true |
59 | | - files: coverage.xml |
60 | | - token: ${{ secrets.CODECOV_TOKEN }} |
| 1 | +# name: ASE integration |
| 2 | + |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# branches: [main] |
| 6 | +# pull_request: |
| 7 | +# # Check all PR |
| 8 | + |
| 9 | +# concurrency: |
| 10 | +# group: ase-tests-${{ github.ref }} |
| 11 | +# cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} |
| 12 | + |
| 13 | +# jobs: |
| 14 | +# tests: |
| 15 | +# runs-on: ubuntu-24.04 |
| 16 | +# name: tests |
| 17 | +# steps: |
| 18 | +# - uses: actions/checkout@v6 |
| 19 | +# with: |
| 20 | +# fetch-depth: 0 |
| 21 | + |
| 22 | +# - name: setup Python |
| 23 | +# uses: actions/setup-python@v6 |
| 24 | +# with: |
| 25 | +# python-version: "3.13" |
| 26 | + |
| 27 | +# - name: Setup sccache |
| 28 | +# uses: mozilla-actions/sccache-action@v0.0.10 |
| 29 | +# with: |
| 30 | +# version: "v0.10.0" |
| 31 | + |
| 32 | +# - name: Setup sccache environnement variables |
| 33 | +# run: | |
| 34 | +# echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV |
| 35 | +# echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV |
| 36 | +# echo "CMAKE_C_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV |
| 37 | +# echo "CMAKE_CXX_COMPILER_LAUNCHER=sccache" >> $GITHUB_ENV |
| 38 | + |
| 39 | +# - name: install tests dependencies |
| 40 | +# run: | |
| 41 | +# python -m pip install --upgrade pip |
| 42 | +# python -m pip install tox coverage |
| 43 | + |
| 44 | +# - name: run tests |
| 45 | +# run: tox -e ase-tests |
| 46 | +# env: |
| 47 | +# PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu |
| 48 | + |
| 49 | +# - name: combine Python coverage files |
| 50 | +# shell: bash |
| 51 | +# run: | |
| 52 | +# coverage combine .tox/*/.coverage |
| 53 | +# coverage xml |
| 54 | + |
| 55 | +# - name: upload to codecov.io |
| 56 | +# uses: codecov/codecov-action@v6 |
| 57 | +# with: |
| 58 | +# fail_ci_if_error: true |
| 59 | +# files: coverage.xml |
| 60 | +# token: ${{ secrets.CODECOV_TOKEN }} |
0 commit comments