File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Branch
33on :
44 push :
55 branches-ignore :
6- - [master, main]
6+ [master, main]
77
88concurrency :
99 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
4848 with :
4949 path : ${{ env.pythonLocation }}
5050 key : ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.dev.txt') }}
51+ - name : Use Node.js version 16
52+ uses : actions/setup-node@v3
53+ with :
54+ node-version : " 16.19.1"
5155 - name : Install Dependencies
5256 run : |
5357 pip install --upgrade --upgrade-strategy eager -r requirements.txt -r requirements.dev.txt -e .
7175 with :
7276 project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
7377 coverage-reports : coverage.xml
78+
Original file line number Diff line number Diff line change 3939 with :
4040 path : ${{ env.pythonLocation }}
4141 key : ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.dev.txt') }}
42+ - name : Use Node.js version 16
43+ uses : actions/setup-node@v3
44+ with :
45+ node-version : " 16.19.1"
4246 - name : Install Dependencies
4347 run : |
4448 pip install --upgrade --upgrade-strategy eager -r requirements.txt -r requirements.dev.txt -e .
7074 run : |
7175 rm -rf docs/source/*.txt
7276 SPHINX_APIDOC_OPTIONS=members,undoc-members,show-inheritance sphinx-apidoc -eM -s txt -o docs/source/ exatomic *test*
73- travis-sphinx build
74- travis-sphinx deploy
77+ sphinx-build docs/source _build
78+ - name : Deploy
79+ uses : peaceiris/actions-gh-pages@v3
80+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
81+ with :
82+ publish_branch : gh-pages
83+ github_token : ${{ secrets.GITHUB_TOKEN }}
84+ publish_dir : _build/
85+ force_orphan : true
7586
7687 # keep github release and pypi upload together
7788 publish-release :
Original file line number Diff line number Diff line change 1- name : Branch
1+ name : Pull Request
22
33on :
44 pull_request :
4646 with :
4747 path : ${{ env.pythonLocation }}
4848 key : ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.dev.txt') }}
49+ - name : Use Node.js version 16
50+ uses : actions/setup-node@v3
51+ with :
52+ node-version : " 16.19.1"
4953 - name : Install Dependencies
5054 run : |
5155 pip install --upgrade --upgrade-strategy eager -r requirements.txt -r requirements.dev.txt -e .
You can’t perform that action at this time.
0 commit comments