-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
106 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
# on: | ||
# push: {} | ||
# pull_request: | ||
# types: [closed] | ||
# release: | ||
# types: [published] | ||
|
||
# jobs: | ||
|
||
# run-tests: | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - name: Set up Python ${{ matrix.python-version }} | ||
# uses: actions/setup-python@v3 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
|
||
# - name: Upgrade pip, setuptools, and wheel | ||
# run: | | ||
# pip install --upgrade pip setuptools wheel | ||
|
||
# - name: Install dependencies | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install libhdf5-serial-dev zlib1g-dev libatlas-base-dev lcov swig3.0 libpcsclite-dev | ||
# mkdir -p ~/bin/ && ln -s /usr/bin/swig3.0 ~/bin/swig && export PATH=~/bin/:$PATH | ||
# pip install wheel # Ensure wheel is installed | ||
# pip install -e .[ci,test,yubikey] | ||
|
||
# - name: Setup GitHub user | ||
# run: | | ||
# git config --global user.name oll-bot | ||
# git config --global user.email [email protected] | ||
|
||
# - name: Run pre-commit and test with pytest | ||
# run: | | ||
# pre-commit run --all-files | ||
# pytest taf/tests | ||
on: | ||
push: {} | ||
pull_request: | ||
types: [closed] | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
|
||
run-tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Upgrade pip, setuptools, and wheel | ||
run: | | ||
pip install --upgrade pip setuptools wheel | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libhdf5-serial-dev zlib1g-dev libatlas-base-dev lcov swig3.0 libpcsclite-dev | ||
mkdir -p ~/bin/ && ln -s /usr/bin/swig3.0 ~/bin/swig && export PATH=~/bin/:$PATH | ||
pip install wheel # Ensure wheel is installed | ||
pip install -e .[ci,test,yubikey] | ||
- name: Setup GitHub user | ||
run: | | ||
git config --global user.name oll-bot | ||
git config --global user.email [email protected] | ||
- name: Run pre-commit and test with pytest | ||
run: | | ||
pre-commit run --all-files | ||
pytest taf/tests | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters