Merge branch 'main' into 3-add-pyprojecttoml-and-arrange-files-per-st… #2
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
name: Sample CI | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Apt dependencies | |
shell: bash | |
run: | | |
sudo apt -y update | |
sudo apt install -y python3-dev | |
- name: Python dependencies | |
shell: bash | |
run: | | |
pip3 install numpy \ | |
pytest | |
- name: Test | |
shell: bash | |
run: | | |
pytest -v . | |